Backport "="-ldscript-path-prefix changes from master.
[platform/upstream/binutils.git] / ld / ChangeLog
index ca27cc2..9f620c9 100644 (file)
@@ -1,3 +1,36 @@
+2014-10-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       Backport "="-ldscript-path-prefix changes from master.
+       * 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
+       behavior of first character "/" on scripts within sysroot, also
+       mention that effect can be forced by prefixing with "=" and
+       refer to SEARCH_DIR.
+
+2014-10-14  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.25.
+
+2014-10-13  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (lang_add_section): Set up map_head.s and map_tail.s when
+       relocatable.
+
 2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
 
        * emultempl/nds32elf.em (nds32_elf_after_open): Do not keep