[3/6] Fix overcounting of ARM PLT references
Nick Clifton
nickc@redhat.com
Mon Mar 14 14:17:00 GMT 2011
More information about the Binutils mailing list
Mon Mar 14 14:17:00 GMT 2011
- Previous message (by thread): [3/6] Fix overcounting of ARM PLT references
- Next message (by thread): [4/6] Always set dynobj during elf32_arm_check_relocs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Richard, > bfd/ > * elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p, > may_need_local_target_p and may_become_dynamic_p to classify > the relocation type. Don't check info->symbolic or h->def_regular > when deciding whether to record a potential dynamic reloc. > Don't treat potential dynamic relocs as PLT references. > (elf32_arm_gc_sweep_hook): Update to match. Assert that we don't > try to make the PLT reference count go negative. > > ld/testsuite/ > * ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s, > ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests. > * ld-arm/arm-elf.exp: Run them. Approved - please apply. Cheers Nick
- Previous message (by thread): [3/6] Fix overcounting of ARM PLT references
- Next message (by thread): [4/6] Always set dynobj during elf32_arm_check_relocs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list