aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-08-26 09:47:49 +0000
committerNick Clifton <nickc@redhat.com>2005-08-26 09:47:49 +0000
commitc0524131ea2e5bf988f957dcbccd68f0d9ea1bb9 (patch)
treed7028e43319adca2bf137354cef9f1f08417e442 /bfd/reloc.c
parent98a7a8547e4713bd3d9e0fe18bf2c86264805429 (diff)
downloadgdb-c0524131ea2e5bf988f957dcbccd68f0d9ea1bb9.zip
gdb-c0524131ea2e5bf988f957dcbccd68f0d9ea1bb9.tar.gz
gdb-c0524131ea2e5bf988f957dcbccd68f0d9ea1bb9.tar.bz2
Re-enable GAS for z8k-coff
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 77b4feb..f128033 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -1168,7 +1168,9 @@ space consuming. For each target:
7) if they are different you have to figure out which version is
right. */
relocation -= reloc_entry->addend;
- reloc_entry->addend = 0;
+ /* FIXME: There should be no target specific code here... */
+ if (strcmp (abfd->xvec->name, "coff-z8k") != 0)
+ reloc_entry->addend = 0;
}
else
{
@@ -4435,6 +4437,19 @@ ENUMDOC
internally by the linker after analysis of a
BFD_RELOC_XTENSA_ASM_EXPAND.
+ENUM
+ BFD_RELOC_Z8K_DISP7
+ENUMDOC
+ DJNZ offset.
+ENUM
+ BFD_RELOC_Z8K_CALLR
+ENUMDOC
+ CALR offset.
+ENUM
+ BFD_RELOC_Z8K_IMM4L
+ENUMDOC
+ 4 bit value.
+
ENDSENUM
BFD_RELOC_UNUSED
CODE_FRAGMENT