AVR/ld: Propagate link-relax elf header flag correctly.
[binutils-gdb.git] / ld / ChangeLog
index dd7c75e341e33cabb72fa31b336c6d8de7603845..0b2f058c092726991d760c9c019913a31b38297b 100644 (file)
@@ -1,5 +1,142 @@
+2014-12-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * emultempl/avrelf.em: Add include of elf/avr.h.
+       (avr_finish): New function.
+       (LDEMUL_FINISH): Added.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (update_definedness): Return false if script symbol is
+       redefining a strong symbol in an object.
+       (exp_fold_tree_1 <etree_assign>): Set up for reporting a multiple
+       definition error, but for now leave disabled.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (exp_fold_tree_1 <etree_provide>): Test linker_def.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (exp_fold_tree_1 <etree_provide>): Leave bfd_link_hash_common
+       symbols alone.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (update_definedness): Correct logic setting by_object.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (struct definedness_hash_entry, definedness_table)
+       (definedness_newfunc, symbol_defined, update_definedness): Move
+       and rename from..
+       * ldlang.h (struct lang_definedness_hash_entry): ..here,..
+       * ldlang.c (lang_definedness_table, lang_definedness_newfunc)
+       (lang_symbol_defined, lang_update_definedness): ..and here.
+       * ldexp.c (ldexp_init, ldexp_finish): New functions, extracted from..
+       * ldlang.c (lang_init, lang_finish): ..here.
+       * ldexp.h (ldexp_init, ldexp_finish): Declare.
+       * ldlang.h (lang_symbol_defined, lang_update_definedness): Delete.
+       * ldmain.c (main): Call ldexp_init and ldexp_finish.
+
+2014-12-10  Alan Modra  <amodra@gmail.com>
+
+       * ldmisc.c: #include "coff-bfd.h"
+
+2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * configure.tgt: Add Visium support.
+       * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c.
+       (eelf32visium.c): New rule.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32visium.sh: New file.
+       * scripttempl/visium.sc: Likewise.
+
+2014-11-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf_i386.sh (TINY_READONLY_SECTION): New.
+       * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Add .plt.got.
+
+2014-11-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2014-11-24  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo: Correct --plt-align documentation.
+       * emultempl/ppc64elf.em (plt_stub_align): Delete.  Use and set
+       params.plt_stub_align instead.
+
+2014-11-18  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * emulparams/elf_x86_64.sh (BNDPLT): Set to yes for x86_64.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
+       "-z bndplt" if BNDPLT is yes.
+       (gld${EMULATION_NAME}_list_options): Add "-z bndplt" entry.
+       * ld.texinfo: Add description for bndplt.
+
+2014-10-08  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+       * avrtiny.sc: Apply avr.sc fixes.
+
+2014-11-04  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/spu_icache.o_c: Regenerate.
+       * emultempl/spu_ovl.o_c: Regenerate.
+
+2014-11-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-avr/relax-02.d: Update to check size of symbols has
+       changed.
+       * testsuite/ld-avr/relax-03.d: Likewise.
+
+2014-11-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-avr/relax-02.d: New file.
+       * testsuite/ld-avr/relax-02.s: New file.
+       * testsuite/ld-avr/relax-03.d: New file.
+       * testsuite/ld-avr/relax-03.s: New file.
+
+2014-10-29  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+
+2014-10-24  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * emultempl/aarch64elf.em: Add command-line option for erratum 835769.
+
+2014-10-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       Implement --print-sysroot in ld.
+       * ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
+       * lexsup.c (ld_options): Add entry for --print-sysroot.
+       (parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
+
+2014-10-16  Alan Modra  <amodra@gmail.com>
+
+       PR 17488
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't attempt
+       to access ELF header e_flags when not ppc64 ELF output.
+
+2014-10-15  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
 2014-10-15  Hans-Peter Nilsson  <hp@axis.com>
 
+       * ldlex.l (INPUTLIST): New start condition.
+       (comment pattern, ",", "(", ")", "AS_NEEDED")
+       ({FILENAMECHAR1}{FILENAMECHAR}*, "-l"{FILENAMECHAR}+)
+       (quoted string pattern, whitespace pattern): Add INPUTLIST to
+       valid start conditions.
+       (<INPUTLIST>"="{FILENAMECHAR1}{FILENAMECHAR}*): New NAME rule.
+       (ldlex_inputlist): New start-condition-setter function.
+       * ldgram.y (input_list1): Rename from input_list.  All recursive
+       use changed.
+       (input_list): New wrapper rule for input_list1, setting
+       INPUTLIST lexer state for the duration of parsing input_list1.
+       * ldlang.c (lang_add_input_file): If the first character in the
+       filename is '=', prepend the sysroot and force the context of that
+       input file to non-sysroot.
        * ld.texinfo (Options): When mentioning "=" and sysroot, mention
        that --sysroot controls it, not only through the configuration.
        (input files in linker scripts): When mentioning