mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.
This commit is contained in:
parent
2df149a4c0
commit
4f199be3eb
@ -1,3 +1,8 @@
|
||||
2004-01-23 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
|
||||
change.
|
||||
|
||||
2004-01-21 Tom Rix <tcrix@worldnet.att.net>
|
||||
|
||||
* reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw.
|
||||
|
@ -2945,10 +2945,11 @@ elf32_arm_check_relocs (abfd, info, sec, relocs)
|
||||
symbol local. */
|
||||
if (ELF32_R_TYPE (rel->r_info) == R_ARM_PC24
|
||||
|| ELF32_R_TYPE (rel->r_info) == R_ARM_PLT32)
|
||||
{
|
||||
h->elf_link_hash_flags |= ELF_LINK_HASH_NEEDS_PLT;
|
||||
h->plt.refcount += 1;
|
||||
}
|
||||
h->elf_link_hash_flags |= ELF_LINK_HASH_NEEDS_PLT;
|
||||
|
||||
/* If we create a PLT entry, this relocation will reference
|
||||
it, even if it's an ABS32 relocation. */
|
||||
h->plt.refcount += 1;
|
||||
}
|
||||
|
||||
/* If we are creating a shared library, and this is a reloc
|
||||
|
Loading…
Reference in New Issue
Block a user