aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-17 12:05:33 +0000
committerNick Clifton <nickc@redhat.com>2003-06-17 12:05:33 +0000
commitfea39bcb0781e1ee232093500d9ad8844fd23732 (patch)
tree1ab8354927a37800be088f465dfcc51fd63bb762
parentff614a273c70121f7d3c32332d19c0c8b585e6fe (diff)
downloadgdb-fea39bcb0781e1ee232093500d9ad8844fd23732.zip
gdb-fea39bcb0781e1ee232093500d9ad8844fd23732.tar.gz
gdb-fea39bcb0781e1ee232093500d9ad8844fd23732.tar.bz2
Catch and ignore an ARM_26D reloc.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/pe-dll.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d8706a1..11811de 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
+
+ * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
+ reloc.
+
2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index db9f2df..b1a3737 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -1202,6 +1202,13 @@ generate_reloc (abfd, info)
reloc_data[total_relocs].type = 5;
total_relocs++;
break;
+ case BITS_AND_SHIFT (24, 2):
+ if (relocs[i]->howto->type == 5)
+ /* This is an ARM_26D reloc, which is an ARM_26 reloc
+ that has already been fully processed during a
+ previous link stage, so ignore it here. */
+ break;
+ /* Fall through. */
default:
/* xgettext:c-format */
einfo (_("%XError: %d-bit reloc in dll\n"),