mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
b7693d0213
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. (elf32_arm_plt_thumb_stub): New. (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount and plt_got_offset. (elf32_arm_link_hash_traverse): Fix typo. (elf32_arm_link_hash_table): Add obfd. (elf32_arm_link_hash_newfunc): Initialize new fields. (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. (elf32_arm_link_hash_table_create): Initialize obfd. (record_arm_to_thumb_glue): Mark the glue as a local ARM function. (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. (bfd_elf32_arm_get_bfd_for_interworking): Verify that the interworking BFD is not dynamic. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do not emit glue for PLT references. (elf32_arm_final_link_relocate): Handle Thumb functions. Do not emit glue for PLT references. Support the Thumb PLT prefix. (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and plt_thumb_refcount. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and plt_thumb_refcount. (allocate_dynrelocs): Handle Thumb PLT references. (elf32_arm_finish_dynamic_symbol): Likewise. (elf32_arm_symbol_processing): New function. (elf_backend_symbol_processing): Define. opcodes/ * arm-dis.c (WORD_ADDRESS): Define. (print_insn): Use it. Correct big-endian end-of-section handling. gas/testsuite/ * gas/arm/mapping.d: Expect F markers for Thumb code. * gas/arm/unwind.d: Update big-endian pattern. ld/ * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use a dynamic object for stubs. ld/testsuite/ * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: New files. * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, ld-arm/arm-static-app.r: Update for big-endian. * ld-arm/arm-elf.exp: Run the new tests. |
||
---|---|---|
.. | ||
po | ||
a29k-dis.c | ||
acinclude.m4 | ||
aclocal.m4 | ||
alpha-dis.c | ||
alpha-opc.c | ||
arc-dis.c | ||
arc-dis.h | ||
arc-ext.c | ||
arc-ext.h | ||
arc-opc.c | ||
arm-dis.c | ||
arm-opc.h | ||
avr-dis.c | ||
cgen-asm.c | ||
cgen-asm.in | ||
cgen-dis.c | ||
cgen-dis.in | ||
cgen-ibld.in | ||
cgen-opc.c | ||
cgen.sh | ||
ChangeLog | ||
ChangeLog-0001 | ||
ChangeLog-0203 | ||
ChangeLog-9297 | ||
ChangeLog-9899 | ||
config.in | ||
configure | ||
configure.in | ||
cris-dis.c | ||
cris-opc.c | ||
crx-dis.c | ||
crx-opc.c | ||
d10v-dis.c | ||
d10v-opc.c | ||
d30v-dis.c | ||
d30v-opc.c | ||
dep-in.sed | ||
dis-buf.c | ||
dis-init.c | ||
disassemble.c | ||
dlx-dis.c | ||
fr30-asm.c | ||
fr30-desc.c | ||
fr30-desc.h | ||
fr30-dis.c | ||
fr30-ibld.c | ||
fr30-opc.c | ||
fr30-opc.h | ||
frv-asm.c | ||
frv-desc.c | ||
frv-desc.h | ||
frv-dis.c | ||
frv-ibld.c | ||
frv-opc.c | ||
frv-opc.h | ||
h8300-dis.c | ||
h8500-dis.c | ||
h8500-opc.h | ||
hppa-dis.c | ||
i370-dis.c | ||
i370-opc.c | ||
i386-dis.c | ||
i860-dis.c | ||
i960-dis.c | ||
ia64-asmtab.c | ||
ia64-asmtab.h | ||
ia64-dis.c | ||
ia64-gen.c | ||
ia64-ic.tbl | ||
ia64-opc-a.c | ||
ia64-opc-b.c | ||
ia64-opc-d.c | ||
ia64-opc-f.c | ||
ia64-opc-i.c | ||
ia64-opc-m.c | ||
ia64-opc-x.c | ||
ia64-opc.c | ||
ia64-opc.h | ||
ia64-raw.tbl | ||
ia64-war.tbl | ||
ia64-waw.tbl | ||
ip2k-asm.c | ||
ip2k-desc.c | ||
ip2k-desc.h | ||
ip2k-dis.c | ||
ip2k-ibld.c | ||
ip2k-opc.c | ||
ip2k-opc.h | ||
iq2000-asm.c | ||
iq2000-desc.c | ||
iq2000-desc.h | ||
iq2000-dis.c | ||
iq2000-ibld.c | ||
iq2000-opc.c | ||
iq2000-opc.h | ||
m32r-asm.c | ||
m32r-desc.c | ||
m32r-desc.h | ||
m32r-dis.c | ||
m32r-ibld.c | ||
m32r-opc.c | ||
m32r-opc.h | ||
m32r-opinst.c | ||
m68hc11-dis.c | ||
m68hc11-opc.c | ||
m68k-dis.c | ||
m68k-opc.c | ||
m88k-dis.c | ||
m10200-dis.c | ||
m10200-opc.c | ||
m10300-dis.c | ||
m10300-opc.c | ||
MAINTAINERS | ||
Makefile.am | ||
Makefile.in | ||
makefile.vms | ||
maxq-dis.c | ||
mcore-dis.c | ||
mcore-opc.h | ||
mips16-opc.c | ||
mips-dis.c | ||
mips-opc.c | ||
mmix-dis.c | ||
mmix-opc.c | ||
msp430-dis.c | ||
ns32k-dis.c | ||
openrisc-asm.c | ||
openrisc-desc.c | ||
openrisc-desc.h | ||
openrisc-dis.c | ||
openrisc-ibld.c | ||
openrisc-opc.c | ||
openrisc-opc.h | ||
opintl.h | ||
or32-dis.c | ||
or32-opc.c | ||
pdp11-dis.c | ||
pdp11-opc.c | ||
pj-dis.c | ||
pj-opc.c | ||
ppc-dis.c | ||
ppc-opc.c | ||
s390-dis.c | ||
s390-mkopc.c | ||
s390-opc.c | ||
s390-opc.txt | ||
sh64-dis.c | ||
sh64-opc.c | ||
sh64-opc.h | ||
sh-dis.c | ||
sh-opc.h | ||
sparc-dis.c | ||
sparc-opc.c | ||
stamp-h.in | ||
sysdep.h | ||
tic4x-dis.c | ||
tic30-dis.c | ||
tic54x-dis.c | ||
tic54x-opc.c | ||
tic80-dis.c | ||
tic80-opc.c | ||
v850-dis.c | ||
v850-opc.c | ||
vax-dis.c | ||
w65-dis.c | ||
w65-opc.h | ||
xstormy16-asm.c | ||
xstormy16-desc.c | ||
xstormy16-desc.h | ||
xstormy16-dis.c | ||
xstormy16-ibld.c | ||
xstormy16-opc.c | ||
xstormy16-opc.h | ||
xtensa-dis.c | ||
z8k-dis.c | ||
z8k-opc.h | ||
z8kgen.c |