fb6ceddedd
bfd/ * config.bfd (tilegx-*-*): rename little endian vector; add big endian vector. (tilegxbe-*-*): New case. * configure.in (bfd_elf32_tilegx_vec): Rename... (bfd_elf32_tilegx_le_vec): ... to this. (bfd_elf32_tilegx_be_vec): New vector. (bfd_elf64_tilegx_vec): Rename... (bfd_elf64_tilegx_le_vec): ... to this. (bfd_elf64_tilegx_be_vec): New vector. * configure: Regenerate. * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename. (TARGET_LITTLE_NAME): Ditto. (TARGET_BIG_SYM): Define. (TARGET_BIG_NAME): Define. * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename. (TARGET_LITTLE_NAME): Ditto. (TARGET_BIG_SYM): Define. (TARGET_BIG_NAME): Define. * targets.c (bfd_elf32_tilegx_vec): Rename... (bfd_elf32_tilegx_le_vec): ... to this. (bfd_elf32_tilegx_be_vec): Declare. (bfd_elf64_tilegx_vec): Rename... (bfd_elf64_tilegx_le_vec): ... to this. (bfd_elf64_tilegx_be_vec): Declare. (_bfd_target_vector): Add / rename above vectors. binutils/testsuite/ * binutils-all/objdump.exp (cpus_expected): Add tilegx. gas/ * tc-tilegx.c (tilegx_target_format): Handle big endian. (OPTION_EB): Define. (OPTION_EL): Define. (md_longopts): Add entries for "EB" and "EL". (md_parse_option): Handle OPTION_EB and OPTION_EL. (md_show_usage): Add -EB and -EL. (md_number_to_chars): New. * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with ifndef. (md_number_to_chars): Delete. * configure.tgt (tilegx*be): Handle. * doc/as.texinfo [TILE-Gx]: Document -EB and -EL. * doc/c-tilegx.texi: Ditto. ld/ * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. (eelf32tilegx_be.c): Add rule to build this file. (eelf64tilegx_be.c): Ditto. * Makefile.in: Regenerate. * configure.tgt (tilegx-*-*): Support big endian. (tilegxbe-*-*): New. * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. (BIG_OUTPUT_FORMAT): Define. (LITTLE_OUTPUT_FORMAT): Define. * emulparams/elf32tilegx_be.sh: New. * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. (BIG_OUTPUT_FORMAT): Define. (LITTLE_OUTPUT_FORMAT): Define. * emulparams/elf64tilegx_be.sh: New. ld/testsuite/ * ld-tilegx/reloc-be.d: New. * ld-tilegx/reloc-le.d: New. * ld-tilegx/reloc.d: Delete. * ld-tilegx/tilegx.exp: Test big and little endian.
165 lines
5.4 KiB
Plaintext
165 lines
5.4 KiB
Plaintext
2012-02-25 Walter Lee <walt@tilera.com>
|
||
|
||
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
|
||
(ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
|
||
(eelf32tilegx_be.c): Add rule to build this file.
|
||
(eelf64tilegx_be.c): Ditto.
|
||
* Makefile.in: Regenerate.
|
||
* configure.tgt (tilegx-*-*): Support big endian.
|
||
(tilegxbe-*-*): New.
|
||
* emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
|
||
(BIG_OUTPUT_FORMAT): Define.
|
||
(LITTLE_OUTPUT_FORMAT): Define.
|
||
* emulparams/elf32tilegx_be.sh: New.
|
||
* emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
|
||
(BIG_OUTPUT_FORMAT): Define.
|
||
(LITTLE_OUTPUT_FORMAT): Define.
|
||
* emulparams/elf64tilegx_be.sh: New.
|
||
|
||
2012-02-24 Kai Tietz <ktietz@redhat.com>
|
||
|
||
PR binutils/13710
|
||
* deffilep.y (keyword_as_name): Disable LIBRARY
|
||
keyword.
|
||
|
||
2012-02-22 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/13683
|
||
* ldlang.c (lang_process): Rerun lang_do_assignments before
|
||
starting garbage collection.
|
||
* ldexp.c (fold_name): Generate a reloc for defined symbols
|
||
found without an associated output section during the mark phase.
|
||
(exp_fold_tree_1): Continue processing an expression, even if we
|
||
are unable to fold it, if we are in the first two evaluation
|
||
phases.
|
||
* ldexp.h (enum lang_phase_type): Add descriptions of the phases.
|
||
|
||
2012-02-19 Kai Tietz <ktietz@redhat.com>
|
||
|
||
* deffilep.y (cmp_import_elem): Sort first by module name.
|
||
* pe-dll.c (process_def_file_and_drectve): Free strings
|
||
from removed export-element.
|
||
(add_bfd_to_link): Optimize loop on import-elements and lower
|
||
allocated memory.
|
||
(pe_implied_import_dll): Pass NULL instead of 0 for pointer
|
||
argument.
|
||
|
||
2012-02-18 Hans-Peter Nilsson <hp@axis.com>
|
||
|
||
* ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
|
||
temporary variable node used for NULL argument.
|
||
|
||
2012-02-18 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/13343
|
||
* ld.h (parsing_defsym): Delete.
|
||
* ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
|
||
(fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
|
||
exp_get_abs_int): Add tree arg for %S in error messages. Don't
|
||
fudge lineno.
|
||
(exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
|
||
type.filename from sub-tree.
|
||
(exp_trinop): Likewise, and use "cond" rather than "lhs".
|
||
* ldexp.h (node_type): Add filename field to struct.
|
||
* ldfile.c (ldfile_input_filename): Delete. Remove all refs.
|
||
* ldfile.h (ldfile_input_filename): Delete.
|
||
* ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
|
||
%S in error messages.
|
||
* ldemul.c (syslib_default, hll_default): Likewise.
|
||
* ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
|
||
lang_get_regions, lang_new_phdr): Likewise.
|
||
(lang_size_sections_1): Pass addr_tree for %S.
|
||
* ldlex.h (lex_redirect): Update prototype.
|
||
(ldlex_filename): Declare.
|
||
* ldlex.l (<EOF>): Don't set ldfile_input_filename.
|
||
(lex_redirect): Add fake_filename and count params. Push
|
||
fake_filename to file_name_stack and init lineno from count.
|
||
(ldlex_filename): New function.
|
||
(lex_warn_invalid): Use above.
|
||
* ldmain.c (main): Update lex_redirect call.
|
||
* ldmisc.c (vfinfo <%S>): Take file name and line number from
|
||
etree_type arg, or use current if arg is NULL.
|
||
* lexsup.c (parsing_defsym): Delete.
|
||
(parse_args <OPTION_DEFSYM>): Update lex_redirect call.
|
||
|
||
2012-02-13 Kai Tietz <ktietz@redhat.com>
|
||
|
||
* deffilep.y (find_export_in_list): Set is_indent for
|
||
first or last element, if identical.
|
||
(find_import_in_list): Likewise.
|
||
|
||
2012-02-11 Kai Tietz <ktietz@redhat.com>
|
||
|
||
* deffilep.y (%union): New type id_const.
|
||
(opt_name2): New rule.
|
||
(keyword_as_name): New rule.
|
||
(dot_name): Replaced by opt_name2 rule.
|
||
(opt_name): Adjust rule.
|
||
(opt_equal_name): Likewise.
|
||
|
||
2012-02-11 Pascal Obry <pascal@obry.net>
|
||
|
||
* pe-dll.c (auto_export): Use bsearch to speed up scan of exports
|
||
table.
|
||
(process_def_file_and_drectve): Maintain sorting of exports table
|
||
after stripping leading @ signs.
|
||
|
||
2012-02-09 Alan Modra <amodra@gmail.com>
|
||
|
||
* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
|
||
|
||
2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/13616
|
||
* emulparams/elf32_x86_64.sh: Remove NOP.
|
||
* emulparams/elf_i386.sh: Likewise.
|
||
* emulparams/elf_i386_be.sh: Likewise.
|
||
* emulparams/elf_i386_ldso.sh: Likewise.
|
||
* emulparams/elf_i386_vxworks.sh: Likewise.
|
||
* emulparams/elf_k1om.sh: Likewise.
|
||
* emulparams/elf_l1om.sh: Likewise.
|
||
* emulparams/elf_x86_64.sh: Likewise.
|
||
|
||
* ldlang.c (zero_fill): Initialized to 0.
|
||
|
||
* ldwrite.c (build_link_order): Set data size to linker odrder
|
||
size when they are the same.
|
||
|
||
* scripttempl/elf.sc: Don't specify fill if NOP is undefined.
|
||
|
||
2012-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* ldver.c (ldversion): Update copyright message year.
|
||
|
||
2012-01-15 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/12758
|
||
* ldlang.c (lang_process): Don't reopen all files, just those
|
||
newly added by plugin.
|
||
|
||
2012-01-11 Alan Modra <amodra@gmail.com>
|
||
|
||
* emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
|
||
PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
|
||
PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
|
||
--{no-,}plt-align.
|
||
(plt_thread_safe, plt_stub_align): New vars.
|
||
(gld${EMULATION_NAME}_after_allocation): Pass them to
|
||
ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
|
||
* ld.texinfo: Document new command line options, and an old
|
||
undocumented option.
|
||
|
||
2012-01-09 Roland McGrath <mcgrathr@google.com>
|
||
|
||
* configure.in: Use AM_ZLIB.
|
||
* configure: Regenerated.
|
||
|
||
For older changes see ChangeLog-2011
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|