aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffswap.h
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-05-04 10:07:18 +0000
committerTom Rix <trix@redhat.com>2002-05-04 10:07:18 +0000
commit59862849e476778ac63cb33a4696d052bf0becfe (patch)
tree6bf6fa214120830e352fcea251f8bb95fd5c3303 /bfd/coffswap.h
parenta3d60be3b83060b274f5f944d5d272aac7872040 (diff)
downloadgdb-59862849e476778ac63cb33a4696d052bf0becfe.zip
gdb-59862849e476778ac63cb33a4696d052bf0becfe.tar.gz
gdb-59862849e476778ac63cb33a4696d052bf0becfe.tar.bz2
Fix problem with objdump and 16 bit R_BA.
Diffstat (limited to 'bfd/coffswap.h')
-rw-r--r--bfd/coffswap.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/bfd/coffswap.h b/bfd/coffswap.h
index 454e686..cd147c5 100644
--- a/bfd/coffswap.h
+++ b/bfd/coffswap.h
@@ -244,13 +244,7 @@ coff_swap_reloc_in (abfd, src, dst)
reloc_dst->r_vaddr = GET_RELOC_VADDR (abfd, reloc_src->r_vaddr);
reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx);
-
-#ifdef RS6000COFF_C
- reloc_dst->r_type = H_GET_8 (abfd, reloc_src->r_type);
- reloc_dst->r_size = H_GET_8 (abfd, reloc_src->r_size);
-#else
reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type);
-#endif
#ifdef SWAP_IN_RELOC_OFFSET
reloc_dst->r_offset = SWAP_IN_RELOC_OFFSET (abfd, reloc_src->r_offset);
@@ -267,13 +261,7 @@ coff_swap_reloc_out (abfd, src, dst)
struct external_reloc *reloc_dst = (struct external_reloc *) dst;
PUT_RELOC_VADDR (abfd, reloc_src->r_vaddr, reloc_dst->r_vaddr);
H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx);
-
-#ifdef RS6000COFF_C
- H_PUT_8 (abfd, reloc_src->r_type, reloc_dst->r_type);
- H_PUT_8 (abfd, reloc_src->r_size, reloc_dst->r_size);
-#else
H_PUT_16 (abfd, reloc_src->r_type, reloc_dst->r_type);
-#endif
#ifdef SWAP_OUT_RELOC_OFFSET
SWAP_OUT_RELOC_OFFSET (abfd, reloc_src->r_offset, reloc_dst->r_offset);