From 2106126f87476eba40d23d154dbece4495576c6b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 27 Mar 2002 11:28:19 +0000 Subject: Copy the r_offset field into and out of the internal reloc strcuture. --- bfd/coff-arm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bfd/coff-arm.c') diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index ca08131..fd0e0dd 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -900,6 +900,11 @@ coff_arm_reloc_type_lookup (abfd, code) #define BADMAG(x) ARMBADMAG(x) #define ARM 1 /* Customize coffcode.h */ +/* Make sure that the 'r_offset' field is copied properly + so that identical binaries will compare the same. */ +#define SWAP_IN_RELOC_OFFSET H_GET_32 +#define SWAP_OUT_RELOC_OFFSET H_PUT_32 + /* Extend the coff_link_hash_table structure with a few ARM specific fields. This allows us to store global data here without actually creating any global variables, which is a no-no in the BFD world. */ -- cgit v1.1