summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2002-04-09 21:07:33 +0000
committerDavid Schleef <ds@schleef.org>2002-04-09 21:07:33 +0000
commit8332498dda5bc0295d0b715ed8b92235baa1d599 (patch)
tree15446a3aa105eaf8e6082ecec30d7cb04ba5c880 /ldso
parentd30b564ec42c3807c5e9102761ec2b7eed0b6eb9 (diff)
Removed handling for R_PPC_REL24, since it is deceptively useless.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/powerpc/elfinterp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c
index 62a484edb..53655d507 100644
--- a/ldso/ldso/powerpc/elfinterp.c
+++ b/ldso/ldso/powerpc/elfinterp.c
@@ -357,6 +357,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt,
switch (reloc_type) {
case R_PPC_NONE:
break;
+#if 0
case R_PPC_REL24:
{
int delta = symbol_addr - (unsigned long)reloc_addr;
@@ -368,6 +369,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt,
*reloc_addr |= delta&0x03fffffc;
}
break;
+#endif
case R_PPC_RELATIVE:
*reloc_addr = (unsigned long)tpnt->loadaddr + addend;
break;