2010-06-29 04:17:34 +00:00
|
|
|
|
2010-06-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-maxq/maxq.exp: Delete file.
|
|
|
|
|
* ld-maxq/addend.dd, * ld-maxq/addend.s, * ld-maxq/paddr.dd,
|
|
|
|
|
* ld-maxq/paddr.s, * ld-maxq/paddr1.dd, * ld-maxq/paddr1.s,
|
|
|
|
|
* ld-maxq/r32-1.s, * ld-maxq/r32-2.s, * ld-maxq/r32.dd: Likewise.
|
|
|
|
|
|
bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
elf32_tic6x_merge_private_bfd_data): New.
(bfd_elf32_bfd_merge_private_bfd_data,
elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
Define.
* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.
binutils:
* readelf.c (display_tic6x_attribute, process_tic6x_specific):
New.
(process_arch_specific): Call process_tic6x_specific for
EM_TI_C6000.
gas:
* config/tc-tic6x.c: Include elf/tic6x.h.
(tic6x_arch_attribute, tic6x_seen_insns): New.
(tic6x_arch_table, tic6x_arches): Add attribute values.
(tic6x_use_arch): Handle attribute settings.
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
tic6x_attribute_table, tic6x_attributes,
tic6x_convert_symbolic_attribute): New.
(md_pseudo_table): Add c6xabi_attribute.
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
(tic6x_set_attribute_int, tic6x_set_attributes): New.
(tic6x_end): Call tic6x_set_attributes.
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(tic6x_convert_symbolic_attribute): Declare.
gas/testsuite:
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-1.s,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-2.s,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-3.s,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.
include/elf:
* tic6x-attrs.h: New.
* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
C6XABI_Tag_CPU_arch_C674X): Define.
ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
ld/testsuite:
* ld-elf/orphan3.d: Allow section names starting '_'.
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
2010-06-16 00:36:04 +00:00
|
|
|
|
2010-06-15 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan3.d: Allow section names starting '_'.
|
|
|
|
|
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
|
|
|
|
|
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x+-c674x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
|
|
|
|
|
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
|
|
|
|
|
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
|
|
|
|
|
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x+-c674x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
|
|
|
|
|
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
|
|
|
|
|
|
2010-06-07 10:43:52 +00:00
|
|
|
|
2010-06-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-call.d: Handle change in lsls/movs disassembly.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-short.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-blx.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-bad.d: Likewise.
|
|
|
|
|
|
2010-05-26 14:10:15 +00:00
|
|
|
|
2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11628
|
|
|
|
|
* ld-elf/textaddr3.d: New.
|
|
|
|
|
* ld-elf/textaddr4.d: Likewise.
|
|
|
|
|
* ld-elf/textaddr5.d: Likewise.
|
|
|
|
|
* ld-elf/textaddr6.d: Likewise.
|
|
|
|
|
* ld-elf/textaddr7.d: Likewise.
|
|
|
|
|
|
2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>
bfd/
* config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add
bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs.
* configure.in: Handle FDPIC vectors.
* elf32-sh-relocs.h: Add FDPIC and movi20 relocations.
* elf32-sh.c (DEFAULT_STACK_SIZE): Define.
(SYMBOL_FUNCDESC_LOCAL): Define. Use it instead of
SYMBOL_REFERENCES_LOCAL for function descriptors.
(fdpic_object_p): New.
(sh_reloc_map): Add FDPIC and movi20 relocations.
(sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid
range.
(struct elf_sh_plt_info): Add got20 and short_plt. Update all
definitions.
(FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define.
(fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New.
(FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define.
(fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le)
(fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts):
New.
(get_plt_info): Handle FDPIC.
(MAX_SHORT_PLT): Define.
(get_plt_index, get_plt_offset): Handle short_plt.
(union gotref): New.
(struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
got_type and adjust all uses. Add GOT_FUNCDESC.
(struct sh_elf_obj_tdata): Add local_funcdesc. Rename
local_got_tls_type to local_got_type.
(sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type. All
users changed.
(sh_elf_local_funcdesc): Define.
(struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p,
and srofixup.
(sh_elf_link_hash_newfunc): Initialize new fields.
(sh_elf_link_hash_table_create): Set fdpic_p.
(sh_elf_omit_section_dynsym): New.
(create_got_section): Create .got.funcdesc, .rela.got.funcdesc
and .rofixup.
(allocate_dynrelocs): Allocate local function descriptors and space
for R_SH_FUNCDESC-related relocations, and for rofixups.
Handle GOT_FUNCDESC. Create fixups. Handle GOT entries which
require function descriptors.
(sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize.
(sh_elf_modify_program_headers): New.
(sh_elf_size_dynamic_sections): Allocate function descriptors for
local symbols. Allocate .got.funcdesc contents. Allocate rofixups.
Handle local GOT entries of type GOT_FUNCDESC. Create fixups for
local GOT entries. Ensure that FDPIC libraries always have a PLTGOT
entry in the .dynamic section.
(sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc)
(sh_elf_add_rofixup, sh_elf_osec_to_segment)
(sh_elf_osec_readonly_p, install_movi20_field): New functions.
(sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC,
R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC. Use sh_elf_got_offset
and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_. Add rofixup
read-only section warnings. Handle undefined weak symbols. Generate
fixups for R_SH_DIR32 and GOT entries. Check for cross-segment
relocations and clear EF_SH_PIC. Handle 20-bit relocations.
Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
(sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20,
R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC.
Handle 20-bit relocations.
(sh_elf_copy_indirect_symbol): Copy function descriptor reference
counts.
(sh_elf_check_relocs): Handle new relocations. Make symbols
dynamic for FDPIC relocs. Account for rofixups. Error for FDPIC
symbol mismatches. Allocate a GOT for R_SH_DIR32. Allocate fixups
for R_SH_DIR32.
(sh_elf_copy_private_data): Copy PT_GNU_STACK size.
(sh_elf_merge_private_data): Copy initial flags. Do not clobber
non-mach flags. Set EF_SH_PIC for FDPIC. Reject FDPIC mismatches.
(sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries
here. Rename sgot to sgotplt and srel to srelplt. Handle short_plt,
FDPIC descriptors, and got20. Create R_SH_FUNCDESC_VALUE for FDPIC.
Use install_movi20_field. Rename srel to srelgot. Always generate
R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
(sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup.
Do not fill in reserved GOT entries for FDPIC. Correct DT_PLTGOT.
Rename sgot to sgotplt. Assert that the right number of rofixups
and dynamic relocations were allocated.
(sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New.
(elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym.
(elf_backend_can_make_relative_eh_frame)
(elf_backend_can_make_lsda_relative_eh_frame)
(elf_backend_encode_eh_address): Define.
(TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM)
(TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed):
Redefine for FDPIC vector.
* reloc.c: Add SH FDPIC and movi20 relocations.
* targets.c (_bfd_target_vector): Add FDPIC vectors.
* configure, bfd-in2.h, libbfd.h: Regenerated.
binutils/
* readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
gas/
* config/tc-sh.c (sh_fdpic): New.
(sh_check_fixup): Handle relocations on movi20.
(parse_exp): Do not reject PIC operators here.
(build_Mytes): Check for unhandled PIC operators here. Use
sh_check_fixup for movi20.
(enum options): Add OPTION_FDPIC.
(md_longopts, md_parse_option, md_show_usage): Add --fdpic.
(sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
(sh_elf_final_processing): Handle --fdpic.
(sh_uclinux_target_format): New.
(sh_parse_name): Handle FDPIC relocation operators.
* config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
(sh_uclinux_target_format): Declare for TE_UCLINUX.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
em=uclinux.
* doc/c-sh.texi (SH Options): Document --fdpic.
gas/testsuite/
* gas/sh/basic.exp: Run new tests. Handle uClinux like Linux.
* gas/sh/fdpic.d: New file.
* gas/sh/fdpic.s: New file.
* gas/sh/reg-prefix.d: Force big-endian.
* gas/sh/sh2a-pic.d: New file.
* gas/sh/sh2a-pic.s: New file.
* lib/gas-defs.exp (is_elf_format): Include sh*-*-uclinux*.
include/elf/
* sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
(R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New. Adjust
other invalid ranges.
(R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
(R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
(R_SH_FUNCDESC_VALUE): New.
ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
(eshelf_fd.c, eshlelf_fd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
emulations.
* emulparams/shelf_fd.sh: New file.
* emulparams/shlelf_fd.sh: New file.
* emulparams/shlelf_linux.sh: Update comment.
ld/testsuite/
* ld-sh/sh.exp: Handle uClinux like Linux.
* lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
* ld-sh/fdpic-funcdesc-shared.d: New file.
* ld-sh/fdpic-funcdesc-shared.s: New file.
* ld-sh/fdpic-funcdesc-static.d: New file.
* ld-sh/fdpic-funcdesc-static.s: New file.
* ld-sh/fdpic-gotfuncdesc-shared.d: New file.
* ld-sh/fdpic-gotfuncdesc-shared.s: New file.
* ld-sh/fdpic-gotfuncdesc-static.d: New file.
* ld-sh/fdpic-gotfuncdesc-static.s: New file.
* ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
* ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
* ld-sh/fdpic-gotfuncdesci20-static.d: New file.
* ld-sh/fdpic-gotfuncdesci20-static.s: New file.
* ld-sh/fdpic-goti20-shared.d: New file.
* ld-sh/fdpic-goti20-shared.s: New file.
* ld-sh/fdpic-goti20-static.d: New file.
* ld-sh/fdpic-goti20-static.s: New file.
* ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
* ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
* ld-sh/fdpic-gotofffuncdesc-static.d: New file.
* ld-sh/fdpic-gotofffuncdesc-static.s: New file.
* ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
* ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
* ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
* ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
* ld-sh/fdpic-gotoffi20-shared.d: New file.
* ld-sh/fdpic-gotoffi20-shared.s: New file.
* ld-sh/fdpic-gotoffi20-static.d: New file.
* ld-sh/fdpic-gotoffi20-static.s: New file.
* ld-sh/fdpic-plt-be.d: New file.
* ld-sh/fdpic-plt-le.d: New file.
* ld-sh/fdpic-plt.s: New file.
* ld-sh/fdpic-plti20-be.d: New file.
* ld-sh/fdpic-plti20-le.d: New file.
* ld-sh/fdpic-stack-default.d: New file.
* ld-sh/fdpic-stack-size.d: New file.
* ld-sh/fdpic-stack.s: New file.
2010-05-25 14:12:43 +00:00
|
|
|
|
2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-sh/sh.exp: Handle uClinux like Linux.
|
|
|
|
|
* lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
|
|
|
|
|
* ld-sh/fdpic-funcdesc-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-funcdesc-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-funcdesc-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-funcdesc-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesc-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesc-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesc-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesc-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesci20-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotfuncdesci20-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-goti20-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-goti20-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-goti20-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-goti20-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesc-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesc-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotoffi20-shared.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotoffi20-shared.s: New file.
|
|
|
|
|
* ld-sh/fdpic-gotoffi20-static.d: New file.
|
|
|
|
|
* ld-sh/fdpic-gotoffi20-static.s: New file.
|
|
|
|
|
* ld-sh/fdpic-plt-be.d: New file.
|
|
|
|
|
* ld-sh/fdpic-plt-le.d: New file.
|
|
|
|
|
* ld-sh/fdpic-plt.s: New file.
|
|
|
|
|
* ld-sh/fdpic-plti20-be.d: New file.
|
|
|
|
|
* ld-sh/fdpic-plti20-le.d: New file.
|
|
|
|
|
* ld-sh/fdpic-stack-default.d: New file.
|
|
|
|
|
* ld-sh/fdpic-stack-size.d: New file.
|
|
|
|
|
* ld-sh/fdpic-stack.s: New file.
|
|
|
|
|
|
2010-05-18 03:31:07 +00:00
|
|
|
|
2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11600
|
|
|
|
|
* ld-elf/exclude3.s: New.
|
|
|
|
|
* ld-elf/exclude3a.d: Likewise.
|
|
|
|
|
* ld-elf/exclude3b.d: Likewise.
|
|
|
|
|
* ld-elf/exclude3c.d: Likewise.
|
|
|
|
|
|
2010-05-11 17:36:33 +00:00
|
|
|
|
2010-05-11 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-2.attr: Add Tag_DIV_use.
|
|
|
|
|
* ld-arm/attr-merge-2a.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-2b.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-3a.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-3b.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-4.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-5.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-6.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-7.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-1.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-2.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-3.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-1.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-1r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-2.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-2r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-3.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-3r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-4.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-4r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-5.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-5r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge.attr: Likewise.
|
|
|
|
|
|
|
|
|
|
2010-05-11 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-vfp-6.d: New test.
|
|
|
|
|
* ld-arm/attr-merge-vfp-6r.d: New test.
|
|
|
|
|
* ld-arm/attr-merge-vfpv3xd.s: New test.
|
|
|
|
|
* ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r.
|
|
|
|
|
|
2010-05-07 18:24:48 +00:00
|
|
|
|
2010-05-07 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/cortex-a8-fix-bl-rel-plt.d: New file.
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d.
|
|
|
|
|
|
2010-05-06 20:04:27 +00:00
|
|
|
|
2010-05-06 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan-region.d: Use ld -N.
|
|
|
|
|
|
2010-04-30 18:27:32 +00:00
|
|
|
|
2010-04-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11542
|
|
|
|
|
* ld-elf/discard.ld: New.
|
|
|
|
|
* ld-elf/discard1.d: Likewise.
|
|
|
|
|
* ld-elf/discard1.s: Likewise.
|
|
|
|
|
* ld-elf/discard2.d: Likewise.
|
|
|
|
|
* ld-elf/discard2.s: Likewise.
|
|
|
|
|
* ld-elf/discard3.d: Likewise.
|
|
|
|
|
|
2010-04-22 01:51:01 +00:00
|
|
|
|
2010-04-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/extract-symbol-1sec.d: Update lma.
|
|
|
|
|
* ld-i386/alloc.d: Expect a warning, not an error.
|
|
|
|
|
|
bfd:
* elf32-tic6x.h: New.
* elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA.
* elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata,
elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel,
elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject,
elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p,
bfd_elf32_mkobject, bfd_elf32_new_section_hook): New.
(elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup,
elf32_tic6x_relocate_section): Handle REL relocations.
(elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel.
gas:
* config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
(md_longopts): Add -mgenerate-rel.
(tic6x_generate_rela): New.
(md_parse_option): Handle -mgenerate-rel.
(md_show_usage): Add comment that -mgenerate-rel is undocumented.
(tic6x_init_after_args): New.
(md_apply_fix): Correct shift calculations for SB-relative
relocations.
(md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
adjust addresses for relocations referencing symbols in other
sections.
(tc_gen_reloc): Adjust addend calculations for REL relocations.
* config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
tic6x_pcrel_from_section, tc_init_after_args,
tic6x_init_after_args): New.
ld/testsuite:
* ld-tic6x/data-reloc-global-rel.d,
ld-tic6x/data-reloc-global-rel.s,
ld-tic6x/data-reloc-local-r-rel.d,
ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d,
ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s,
ld-tic6x/mvk-reloc-local-2-rel.s,
ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d,
ld-tic6x/pcrel-reloc-global-rel.d,
ld-tic6x/pcrel-reloc-local-r-rel.d,
ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d,
ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s,
ld-tic6x/sbr-reloc-local-2-rel.s,
ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d:
New.
2010-04-20 22:03:00 +00:00
|
|
|
|
2010-04-20 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-tic6x/data-reloc-global-rel.d,
|
|
|
|
|
ld-tic6x/data-reloc-global-rel.s,
|
|
|
|
|
ld-tic6x/data-reloc-local-r-rel.d,
|
|
|
|
|
ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d,
|
|
|
|
|
ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s,
|
|
|
|
|
ld-tic6x/mvk-reloc-local-2-rel.s,
|
|
|
|
|
ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d,
|
|
|
|
|
ld-tic6x/pcrel-reloc-global-rel.d,
|
|
|
|
|
ld-tic6x/pcrel-reloc-local-r-rel.d,
|
|
|
|
|
ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d,
|
|
|
|
|
ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s,
|
|
|
|
|
ld-tic6x/sbr-reloc-local-2-rel.s,
|
|
|
|
|
ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d:
|
|
|
|
|
New.
|
|
|
|
|
|
2010-04-15 10:56:39 +00:00
|
|
|
|
2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-2.attr: Update for changes in attribute output.
|
|
|
|
|
* ld-arm/attr-merge-3.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-1.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-1r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-2.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-2r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-3.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-3r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-4.d: Likeiwse.
|
|
|
|
|
* ld-arm/attr-merge-vfp-4r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-5.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-vfp-5r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge.attr: Likewise.
|
|
|
|
|
|
2010-04-06 11:53:16 +00:00
|
|
|
|
2010-04-06 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* ld-elfvers/vers.exp: Pass -Av9a to assembler on sparc-*-*
|
|
|
|
|
|
2010-04-05 09:02:58 +00:00
|
|
|
|
2010-04-05 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/orphan_nu.d: New test for --no-leading-underscore.
|
|
|
|
|
* ld-pe/orphana_nu.s: New file.
|
|
|
|
|
* ld-pe/pe.exp: Add orphan_nu test.
|
|
|
|
|
|
2010-04-01 10:02:28 +00:00
|
|
|
|
2010-04-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/apuinfo-nul.rd: New.
|
|
|
|
|
* ld-powerpc/apuinfo-nul1.s: New.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Add it.
|
|
|
|
|
|
2010-03-31 21:10:14 +00:00
|
|
|
|
2010-03-31 Kai TIetz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc
|
|
|
|
|
before string compare.
|
|
|
|
|
|
2010-03-31 16:54:44 +00:00
|
|
|
|
2010-03-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/script-type.sym: Fix test.
|
|
|
|
|
|
2010-03-31 16:34:12 +00:00
|
|
|
|
2010-03-31 Kai TIetz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/basefile1.s: New.
|
|
|
|
|
* ld-pe/pe-compile.exp: Add base-file test.
|
|
|
|
|
|
2010-03-30 23:16:46 +00:00
|
|
|
|
2010-03-31 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
2010-03-31 13:23:40 +00:00
|
|
|
|
PR ld/11458
|
|
|
|
|
* ld-cris/pcrelcp-1.d, ld-cris/pcrelcp-1.s: New test.
|
|
|
|
|
|
2010-03-31 13:22:22 +00:00
|
|
|
|
* lib/ld-lib.exp (run_dump_test): When checking linker message and
|
|
|
|
|
return code, when success with no message is expected, don't
|
|
|
|
|
continue if we have an abnormal exit with a message. Check output
|
|
|
|
|
of inspection program and fail if it had output or an abnormal
|
|
|
|
|
exit code. Include "warning" and "error" among the directives
|
|
|
|
|
where multiples are allowed and append to previous values.
|
|
|
|
|
|
2010-03-30 23:16:46 +00:00
|
|
|
|
* ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply
|
|
|
|
|
"file rootname", not "file tail", before applying runtest_file_p.
|
|
|
|
|
|
2010-03-29 20:42:55 +00:00
|
|
|
|
2010-03-29 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
|
|
|
|
|
|
bfd:
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
(BFD32_BACKENDS): Add elf32-tic6x.lo.
(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
* Makefile.in: Regenerate.
* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
(bfd_archures_list): Update.
* config.bfd (tic6x-*-elf): New.
* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
New.
* configure: Regenerate.
* cpu-tic6x.c, elf32-tic6x.c: New.
* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
(_bfd_target_vector): Update.
* bfd-in2.h, libbfd.h: Regenerate.
binutils:
* MAINTAINERS: Add self as TI C6X maintainer.
* NEWS: Add news entry for TI C6X support.
* readelf.c: Include elf/tic6x.h.
(guess_is_rela): Handle EM_TI_C6000.
(dump_relocations): Likewise.
(get_tic6x_dynamic_type): New.
(get_dynamic_type): Call it.
(get_machine_flags): Handle EF_C6000_REL.
(get_osabi_name): Handle machine-specific values only for relevant
machines. Handle C6X values.
(get_tic6x_segment_type): New.
(get_segment_type): Call it.
(get_tic6x_section_type_name): New.
(get_section_type_name): Call it.
(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
EM_TI_C6000.
gas:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
* Makefile.in: Regenerate.
* NEWS: Add news entry for TI C6X support.
* app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
operands if TC_KEEP_OPERAND_SPACES.
* configure.tgt (tic6x-*-*): New.
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
TC_PREDICATE_END_CHAR): Define.
* config/tc-tic6x.c, config/tc-tic6x.h: New.
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi (TIC6X): Define.
* doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
* doc/c-tic6x.texi: New.
gas/testsuite:
* gas/tic6x: New directory and testcases.
include:
* dis-asm.h (print_insn_tic6x): Declare.
include/elf:
* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
* tic6x.h: New.
include/opcode:
* tic6x-control-registers.h, tic6x-insn-formats.h,
tic6x-opcode-table.h, tic6x.h: New.
ld:
* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
eelf32_tic6x_le.o.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
* NEWS: Add news entry for TI C6X support.
* configure.tgt (tic6x-*-*): New.
* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
ld/testsuite:
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
* ld-tic6x: New directory and testcases.
opcodes:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
* Makefile.in: Regenerate.
* configure.in (bfd_tic6x_arch): New.
* configure: Regenerate.
* disassemble.c (ARCH_tic6x): Define if ARCH_all.
(disassembler): Handle TI C6X.
* tic6x-dis.c: New.
2010-03-25 21:12:36 +00:00
|
|
|
|
2010-03-25 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
|
|
|
|
|
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
|
|
|
|
|
* ld-tic6x: New directory and testcases.
|
|
|
|
|
|
2010-03-19 14:49:46 +00:00
|
|
|
|
2010-03-19 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11304
|
|
|
|
|
* ld-elf/pr11304.d: New test.
|
|
|
|
|
* ld-elf/pr11304a.s: New test.
|
|
|
|
|
* ld-elf/pr11304b.s: New test.
|
|
|
|
|
* lib/ld-lib.exp (regexp_diff): Add support for #failif.
|
|
|
|
|
|
2010-03-16 14:14:40 +00:00
|
|
|
|
2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan-region.d, ld-elf/orphan-region.ld,
|
|
|
|
|
ld-elf/orphan-region.s: New files.
|
|
|
|
|
|
2010-03-02 11:40:24 +00:00
|
|
|
|
2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-merge-incompatible.d: New test.
|
|
|
|
|
* ld-arm/arm-merge-incompatiblea.s: Likewise.
|
|
|
|
|
* ld-arm/arm-merge-incompatibleb.s: Likewise.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run the new test.
|
|
|
|
|
|
2010-03-02 08:19:54 +00:00
|
|
|
|
2010-03-02 Christophe Lyon <christophe.lyon@st.com>
|
2010-03-18 18:16:41 +00:00
|
|
|
|
Alan Modra <amodra@gmail.com>
|
2010-03-02 08:19:54 +00:00
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Change .text start address for
|
|
|
|
|
farcall-thumb-arm tests. Add v4t variant for farcall-mixed-lib
|
|
|
|
|
test.
|
|
|
|
|
* ld-arm/farcall-mixed-lib-v4t.d: New test.
|
|
|
|
|
* ld-arm/farcall-mixed-lib1.s: Don't force armv5t.
|
|
|
|
|
* ld-arm/farcall-mixed-lib2.s: Likewise.
|
|
|
|
|
* ld-arm/arm-call.d: Update expected results.
|
|
|
|
|
* ld-arm/cortex-a8-far.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-group-size2.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-group.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mix.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mix2.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app-v5.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-arm.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-blx.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-arm.s: Update test. Add a new call to
|
|
|
|
|
potentially generate different types of stubs.
|
|
|
|
|
|
2010-02-27 23:23:20 +00:00
|
|
|
|
2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/init-fini-arrays.d: Pass --wide to readelf.
|
|
|
|
|
|
2010-02-27 12:34:25 +00:00
|
|
|
|
2010-02-27 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/init-fini-arrays.s: New test.
|
|
|
|
|
* ld-elf/init-fini-arrays.d: New test.
|
|
|
|
|
|
2010-02-24 11:15:11 +00:00
|
|
|
|
2010-02-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/group-relocs.s: Mark code sections as executable.
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): Only dump executable sections in
|
|
|
|
|
group-relocs test.
|
|
|
|
|
* ld-arm/reloc-boundaries.d: Fix test to work on Linux targets.
|
|
|
|
|
|
2010-02-23 16:56:39 +00:00
|
|
|
|
2010-02-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan4.d: Allow for other sections to be present in the
|
|
|
|
|
output.
|
|
|
|
|
|
2010-02-19 05:07:50 +00:00
|
|
|
|
2010-02-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic
|
|
|
|
|
ifunc-using executable.
|
|
|
|
|
|
2010-02-19 01:47:16 +00:00
|
|
|
|
2010-02-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/group.ld: Discard .dropme sections.
|
|
|
|
|
* ld-elf/group10.d, * ld-elf/group10.s: New test.
|
|
|
|
|
|
2010-02-18 17:25:10 +00:00
|
|
|
|
2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-6.attr: Add new test. Missed off last commit.
|
|
|
|
|
|
2010-02-18 10:56:28 +00:00
|
|
|
|
2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-3.attr: Fix test for new attribute values.
|
|
|
|
|
* ld-arm/attr-merge-3b.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised
|
|
|
|
|
attribute ID.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-6.attr: New test.
|
|
|
|
|
* ld-arm/attr-merge-6a.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-6b.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-7.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-7a.s: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-7b.s: Likewise.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run the new tests.
|
|
|
|
|
|
2010-02-16 19:02:59 +00:00
|
|
|
|
2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/jump-reloc-veneers-long.d: Correct testcase for
|
|
|
|
|
arm-none-eabi target.
|
|
|
|
|
* ld-arm/jump-reloc-veneers-short1.d: Likewise
|
|
|
|
|
* ld-arm/jump-reloc-veneers-short2.d: Likewise
|
|
|
|
|
|
2010-02-12 20:52:52 +00:00
|
|
|
|
2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): New test case added.
|
|
|
|
|
* ld-arm/data-only-map.s: New file.
|
|
|
|
|
* ld-arm/data-only-map.d: New file.
|
2010-02-23 16:56:39 +00:00
|
|
|
|
* ld-arm/data-only-map.ld: New file.
|
2010-02-12 20:52:52 +00:00
|
|
|
|
|
2010-02-11 19:57:40 +00:00
|
|
|
|
2010-02-11 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* ld-sparc/gotop32.s: Add local symbol case.
|
|
|
|
|
* ld-sparc/gotop64.s: Likewise.
|
|
|
|
|
* ld-sparc/gotop32.rd: Adjust expected results.
|
|
|
|
|
* ld-sparc/gotop32.td: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.dd: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.rd: Likewise.
|
|
|
|
|
* ld-sparc/gotop64.td: Likewise.
|
|
|
|
|
|
2010-02-09 10:46:27 +00:00
|
|
|
|
2010-02-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*.
|
|
|
|
|
* ld-shared/shared.exp: Likewise.
|
|
|
|
|
|
2010-02-08 20:28:43 +00:00
|
|
|
|
2010-02-08 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* ld-ifunc/ifunc.exp: Run for sparc.
|
|
|
|
|
|
2010-02-08 07:09:39 +00:00
|
|
|
|
2010-02-08 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/apuinfo-nul.s: New.
|
|
|
|
|
* ld-powerpc/apuinfo.rd: Add it.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Likewise.
|
|
|
|
|
|
2010-02-01 10:33:16 +00:00
|
|
|
|
2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
2010-02-08 07:09:39 +00:00
|
|
|
|
* ld-arm/jump-reloc-veneers-long.d: New test.
|
|
|
|
|
* ld-arm/jump-reloc-veneers-short1.d: Likewise.
|
|
|
|
|
* ld-arm/jump-reloc-veneers-short2.d: Likewise.
|
|
|
|
|
* ld-arm/jump-reloc-veneers.s: Likewise.
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): Run them.
|
2010-02-01 10:33:16 +00:00
|
|
|
|
|
2010-01-28 15:25:20 +00:00
|
|
|
|
2010-01-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 11225
|
|
|
|
|
* ld-sh/refdbg-0-dso.d: Dump all sections.
|
|
|
|
|
|
2010-01-26 13:21:36 +00:00
|
|
|
|
2010-01-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11218
|
|
|
|
|
* ld-gc/dummy.s: New.
|
|
|
|
|
* ld-gc/pr11218-1.c: Likewise.
|
|
|
|
|
* ld-gc/pr11218-2.c: Likewise.
|
|
|
|
|
* ld-gc/pr11218.d: Likewise.
|
|
|
|
|
|
2010-01-23 12:05:33 +00:00
|
|
|
|
2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od,
|
|
|
|
|
ld-powerpc/aix-ref-1.s: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2010-01-14 14:29:51 +00:00
|
|
|
|
2010-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan4.d: Support 64bit targets.
|
|
|
|
|
|
2010-01-14 04:56:12 +00:00
|
|
|
|
2010-01-13 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan4.d: New.
|
|
|
|
|
* ld-elf/orphan4.ld: New.
|
|
|
|
|
* ld-elf/orphan4.s: New.
|
|
|
|
|
|
2010-01-13 22:34:28 +00:00
|
|
|
|
2010-01-13 Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* ld-mips-elf/jr-to-b-1.d, ld-mips-elf/jr-to-b-2.d: New tests.
|
|
|
|
|
* ld-mips-elf/jr-to-b-1.s, ld-mips-elf/jr-to-b-2.s: Source.
|
|
|
|
|
* ld-mips-elf/mips-elf.exp: Run new tests.
|
|
|
|
|
|
2010-01-13 19:01:10 +00:00
|
|
|
|
2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armelftests): Assemble Cortex-A8 tests with
|
|
|
|
|
-mcpu=cortex-a8.
|
|
|
|
|
|
2010-01-13 14:08:54 +00:00
|
|
|
|
2010-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-scrips/sort.exp: Skip these tests when the target is the
|
|
|
|
|
h8300.
|
|
|
|
|
|
2010-01-11 14:45:42 +00:00
|
|
|
|
2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11146
|
|
|
|
|
* ld-elf/dynsym1.d: New.
|
|
|
|
|
|
2010-01-08 03:03:16 +00:00
|
|
|
|
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11138
|
|
|
|
|
* ld-elf/pr11138-1.c: New.
|
|
|
|
|
* ld-elf/pr11138-1.map: Likewise.
|
|
|
|
|
* ld-elf/pr11138-2.c: Likewise.
|
|
|
|
|
* ld-elf/pr11138-2.map: Likewise.
|
|
|
|
|
* ld-elf/pr11138.out: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/shared.exp (build_tests): Add libpr11138-1.so and
|
|
|
|
|
libpr11138-2.o.
|
|
|
|
|
(run_tests): Add 2 tests for PR ld/11138.
|
|
|
|
|
|
2010-01-08 01:43:23 +00:00
|
|
|
|
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11133
|
|
|
|
|
* ld-gc/gc.exp: Run start.
|
|
|
|
|
|
|
|
|
|
* ld-gc/start.d: New.
|
|
|
|
|
* ld-gc/start.s: Likewise.
|
|
|
|
|
|
2010-01-07 13:44:37 +00:00
|
|
|
|
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11143
|
|
|
|
|
* ld-gc/gc.exp: Run abi-note.
|
|
|
|
|
|
|
|
|
|
* ld-gc/abi-note.d: New.
|
|
|
|
|
* ld-gc/abi-note.s: Likewise.
|
2009-12-28 18:55:16 +00:00
|
|
|
|
|
2010-01-01 18:06:10 +00:00
|
|
|
|
For older changes see ChangeLog-2009
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|