svn commit: trunk/uClibc/libc/sysdeps/linux/bfin
vapier at uclibc.org
vapier at uclibc.org
Wed May 17 04:44:21 UTC 2006
Author: vapier
Date: 2006-05-16 21:44:21 -0700 (Tue, 16 May 2006)
New Revision: 15096
Log:
fix by Peter S. Mazinger: use system attribute_hidden rather than local copy
Modified:
trunk/uClibc/libc/sysdeps/linux/bfin/crtreloc.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/crtreloc.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/crtreloc.c 2006-05-17 04:43:14 UTC (rev 15095)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/crtreloc.c 2006-05-17 04:44:21 UTC (rev 15096)
@@ -35,8 +35,6 @@
/* This file is to be compiled into crt object files, to enable
executables to easily self-relocate. */
-#define hidden __attribute__((__visibility__("hidden")))
-
union word {
char c[4];
void *v;
@@ -85,7 +83,7 @@
/* Call __reloc_range_indirect for the given range except for the last
entry, whose contents are only relocated. It's expected to hold
the GOT value. */
-void* hidden
+void* attribute_hidden
__self_reloc (const struct elf32_fdpic_loadmap *map,
void ***p, void ***e)
{
@@ -116,7 +114,7 @@
/* Remap p, adjust e by the same offset, then map the pointers in the
range determined by them. */
-void hidden
+void attribute_hidden
__reloc_range (const struct elf32_fdpic_loadmap *map,
void **p, void **e)
{
@@ -130,7 +128,7 @@
/* Remap p, adjust e by the same offset, then map pointers referenced
by the (unadjusted) pointers in the range. Return the relocated
value of the last pointer in the range. */
-void* hidden
+void* attribute_hidden
__reloc_range_indirect (const struct elf32_fdpic_loadmap *map,
void ***p, void ***e)
{
More information about the uClibc-cvs
mailing list