summaryrefslogtreecommitdiff
path: root/libc/elf/dl-reloc.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-11-17 17:30:42 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-11-17 17:30:42 +0000
commit976bc9d4ac64f30edc1e8fa8ec7552703f04a6de (patch)
tree6882908693b03257f3d27f65e161aebc6bde80a2 /libc/elf/dl-reloc.c
parentc1cadd7a47cbc4a77530e6012e44697b75db098d (diff)
* elf/dl-reloc.c, include/features.h, io/sys/stat.h,
ports/sysdeps/mips/dl-machine.h: Revert unnecessary differences from glibc. git-svn-id: svn://svn.eglibc.org/trunk@21767 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/elf/dl-reloc.c')
-rw-r--r--libc/elf/dl-reloc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/elf/dl-reloc.c b/libc/elf/dl-reloc.c
index e6f77262b..f26d99296 100644
--- a/libc/elf/dl-reloc.c
+++ b/libc/elf/dl-reloc.c
@@ -271,17 +271,6 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
relocations. If the shared object lacks a PLT (for example
if it only contains lead function) the l_info[DT_PLTRELSZ]
will be NULL. */
-#ifdef ELF_MACHINE_NO_PLT
- l->l_reloc_result = calloc (sizeof (l->l_reloc_result[0]), 1);
- if (l->l_reloc_result == NULL)
- {
- errstring = N_("\
-%s: out of memory to store relocation results for %s\n");
- _dl_fatal_printf (errstring,
- rtld_progname ?: "<program name unknown>",
- l->l_name);
- }
-#else
if (l->l_info[DT_PLTRELSZ] == NULL)
{
errstring = N_("%s: no PLTREL found in object %s\n");
@@ -299,7 +288,6 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
%s: out of memory to store relocation results for %s\n");
goto fatal;
}
-#endif
}
#endif
}