aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
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 /ld/pe-dll.c
parentff614a273c70121f7d3c32332d19c0c8b585e6fe (diff)
downloadgdb-fea39bcb0781e1ee232093500d9ad8844fd23732.zip
gdb-fea39bcb0781e1ee232093500d9ad8844fd23732.tar.gz
gdb-fea39bcb0781e1ee232093500d9ad8844fd23732.tar.bz2
Catch and ignore an ARM_26D reloc.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c7
1 files changed, 7 insertions, 0 deletions
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"),