7a2b07ff7e
* vxworks.h: New. bfd/ * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. (elf_vxworks_finish_dynamic_entry): Declare. * elf-vxworks.c: Include elf/vxworks.h. (elf_vxworks_add_dynamic_entries): New. (elf_vxworks_finish_dynamic_entry): New. * Makefile.am (elf-vxworks.lo): Add dependency. * Makefile.in (elf-vxworks.lo): Add dependency. * elf32-i386.c (elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_sections): Call elf_vxworks_add_dynamic_entries and elf_vxworks_finish_dynamic_entry. * elf32-ppc.c (ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, sparc_finish_dyn): Likewise. * elf32-sh.c (sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_finish_dynamic_sections): Likewise. * elf32-arm.c (elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections): Likewise. ld/ * ld-vxworks/tls-2.d: New. * ld-vxworks/tls-2.s: New.
12 lines
411 B
Makefile
12 lines
411 B
Makefile
# source: tls-2.s
|
|
# ld: --entry foo -q --force-dynamic
|
|
# readelf: -d
|
|
|
|
#...
|
|
0x60000010 \(Operating System specific: 60000010\) 0x[0-9a-f]+
|
|
0x60000011 \(Operating System specific: 60000011\) 0x4
|
|
0x60000015 \(Operating System specific: 60000015\) 0x4
|
|
0x60000012 \(Operating System specific: 60000012\) 0x[0-9a-f]+
|
|
0x60000013 \(Operating System specific: 60000013\) 0xc
|
|
#...
|