diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-17 01:51:20 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-17 01:51:20 +0000 |
commit | 150dc1a05a8028efb5bfdc79158e631384d1cd5b (patch) | |
tree | 5389557a56295c1f8fded098e9f9faaca0c144ee | |
parent | 531f1ae0a79b9c3a91654750b11d25b256d7215f (diff) | |
download | glibc-150dc1a05a8028efb5bfdc79158e631384d1cd5b.zip glibc-150dc1a05a8028efb5bfdc79158e631384d1cd5b.tar.gz glibc-150dc1a05a8028efb5bfdc79158e631384d1cd5b.tar.bz2 |
Remove ELF_MACHINE_NO_PLT conditionals.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | elf/dl-runtime.c | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,7 @@ 2012-11-17 Joseph Myers <joseph@codesourcery.com> + * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional. + * posix/getconf-speclist.c: New file. * posix/posix-envs.def: Likewise. * posix/confstr.c (START_ENV_GROUP): New macro. diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c index 7a3bc9e..19543aa 100644 --- a/elf/dl-runtime.c +++ b/elf/dl-runtime.c @@ -56,7 +56,6 @@ to that address. Future calls will bounce directly from the PLT to the function. */ -#ifndef ELF_MACHINE_NO_PLT DL_FIXUP_VALUE_TYPE __attribute ((noinline)) ARCH_FIXUP_ATTRIBUTE _dl_fixup ( @@ -150,9 +149,8 @@ _dl_fixup ( return elf_machine_fixup_plt (l, result, reloc, rel_addr, value); } -#endif -#if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__ +#if !defined PROF && !__BOUNDED_POINTERS__ DL_FIXUP_VALUE_TYPE __attribute ((noinline)) ARCH_FIXUP_ATTRIBUTE _dl_profile_fixup ( @@ -437,7 +435,7 @@ _dl_profile_fixup ( return value; } -#endif /* PROF && ELF_MACHINE_NO_PLT */ +#endif /* PROF */ #include <stdio.h> |