diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2009-07-23 05:02:41 -0400 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-08-19 12:42:20 -0700 |
| commit | 9f0d9c9d33a3e096056b136586efbcf6d3f7d4ac (patch) | |
| tree | 3d2f62d99511f54ec8dc469a40e2e0d733bb57fb /libc | |
| parent | 0a8bbca9355777a523293527a9870be05080e594 (diff) | |
| download | uClibc-alpine-9f0d9c9d33a3e096056b136586efbcf6d3f7d4ac.tar.bz2 uClibc-alpine-9f0d9c9d33a3e096056b136586efbcf6d3f7d4ac.tar.xz | |
Blackfin: fix incorrect attribute order
The order of attributes in a function definition matters and in a few
places in the Blackfin code, it was being applied to the return type
instead of the function itself.
In file included from ldso/ldso/ldso.c:43:
ldso/ldso/bfin/elfinterp.c: At top level:
ldso/ldso/bfin/elfinterp.c:42: warning: '__visibility__' attribute ignored on non-class types
In file included from ldso/ldso/bfin/elfinterp.c:341,
from ldso/ldso/ldso.c:43:
libc/sysdeps/linux/bfin/crtreloc.c: At top level:
libc/sysdeps/linux/bfin/crtreloc.c:91: warning: 'visibility' attribute ignored on non-class types
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/sysdeps/linux/bfin/crtreloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/bfin/crtreloc.c b/libc/sysdeps/linux/bfin/crtreloc.c index 408ded2f8..a44b50ba4 100644 --- a/libc/sysdeps/linux/bfin/crtreloc.c +++ b/libc/sysdeps/linux/bfin/crtreloc.c @@ -85,7 +85,7 @@ reloc_range_indirect (void ***p, void ***e, /* 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* attribute_hidden +attribute_hidden void* __self_reloc (const struct elf32_fdpic_loadmap *map, void ***p, void ***e) { |
