mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
Copy the r_offset field into and out of the internal reloc strcuture.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-27 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* coff-arm.c (SWAP_IN_RELOC_OFFSET): Define.
|
||||||
|
(SWAP_OUT_RELOC_OFFSET): Define.
|
||||||
|
|
||||||
2002-03-27 Gregory Steuck <greg@nest.cx>
|
2002-03-27 Gregory Steuck <greg@nest.cx>
|
||||||
|
|
||||||
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
|
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
|
||||||
|
@ -900,6 +900,11 @@ coff_arm_reloc_type_lookup (abfd, code)
|
|||||||
#define BADMAG(x) ARMBADMAG(x)
|
#define BADMAG(x) ARMBADMAG(x)
|
||||||
#define ARM 1 /* Customize coffcode.h */
|
#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.
|
/* 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
|
This allows us to store global data here without actually creating any
|
||||||
global variables, which is a no-no in the BFD world. */
|
global variables, which is a no-no in the BFD world. */
|
||||||
|
Reference in New Issue
Block a user