Skip to content

Commit

Permalink
* iconv/gconv_builtin.c: Mark map with attribute_relro.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Dec 18, 2005
1 parent 7725f87 commit e0b849e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2005-12-18 Ulrich Drepper <drepper@redhat.com>

* iconv/gconv_builtin.c: Mark map with attribute_relro.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
version for inside ld.so.

Expand Down
4 changes: 2 additions & 2 deletions iconv/gconv_builtin.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Table for builtin transformation mapping.
Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc.
Copyright (C) 1997-1999, 2000-2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -38,7 +38,7 @@ static struct builtin_map
int min_needed_to;
int max_needed_to;

} map[] =
} map[] attribute_relro =
{
#define BUILTIN_TRANSFORMATION(From, To, Cost, Name, Fct, BtowcFct, \
MinF, MaxF, MinT, MaxT) \
Expand Down

0 comments on commit e0b849e

Please sign in to comment.