1 2018-01-16 Nick Clifton <nickc@redhat.com>
3 * po/pt_BR.po: Updated Brazilian Portugese translation.
5 2018-01-15 Nick Clifton <nickc@redhat.com>
7 * po/uk.po: Updated Ukranian translation.
9 2018-01-13 Nick Clifton <nickc@redhat.com>
11 * po/ld.pot: Regenerated.
13 2018-01-13 Nick Clifton <nickc@redhat.com>
15 * configure: Regenerate.
17 2018-01-13 Nick Clifton <nickc@redhat.com>
20 * NEWS: Add marker for 2.30.
22 2018-01-12 Alan Modra <amodra@gmail.com>
24 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
25 initialization" for currently failing targets.
27 2018-01-12 Alan Modra <amodra@gmail.com>
30 * testsuite/ld-elf/pr22649.msg: Allow other messages.
31 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
32 supported before running ld/22649 tests.
34 2018-01-12 Nick Clifton <nickc@redhat.com>
36 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
37 as the opposite of "-z defs".
38 * ld.texinfo: Document the new option. Update the description of
39 the -z defs option to make it clear that it does generate an error
40 if an undefined symbol reference is found in an object file whilst
41 creating a shared library.
42 * NEWS: Document this new feature.
44 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
46 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
48 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
49 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
50 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
52 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
55 * testsuite/ld-x86-64/pr22393-3a.c: New file.
56 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
57 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
58 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
59 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
60 -z max-page-size=0x1000.
62 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
65 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
66 * testsuite/ld-elf/pr22393-1.s: New file.
67 * testsuite/ld-elf/pr22393-1a.d: Likewise.
68 * testsuite/ld-elf/pr22393-1b.d: Likewise.
69 * testsuite/ld-elf/pr22393-1c.d: Likewise.
70 * testsuite/ld-elf/pr22393-1d.d: Likewise.
71 * testsuite/ld-elf/pr22393-1e.d: Likewise.
72 * testsuite/ld-elf/pr22393-1f.d: Likewise.
73 * testsuite/ld-elf/pr22393-2a.c: Likewise.
74 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
75 * testsuite/ld-elf/pr22393-2b.c: Likewise.
76 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
77 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
79 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
82 * NEWS: Mention "-z separate-code".
83 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
84 builtin linker scripts and return linker scripts from disk for
86 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
87 and "-z noseparate-code".
88 * genscripts.sh: Generate linker scripts for "-z separate-code".
89 (LD_FLAG): Set to *textonly for "-z separate-code".
90 * ld.texinfo: Document "-z separate-code".
91 * lexsup.c (elf_shlib_list_options): Add linker help messsages
92 for "-z separate-code" and "-z noseparate-code".
93 * scripttempl/elf.sc (SEPARATE_TEXT): New
94 (TEXT_SEGMENT_ALIGN): Likewise.
95 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
98 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
101 * testsuite/ld-elf/pr22649-1.s: New file.
102 * testsuite/ld-elf/pr22649-2a.s: Likewise.
103 * testsuite/ld-elf/pr22649-2b.s: Likewise.
104 * testsuite/ld-elf/pr22649.msg: Likewise.
105 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
107 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
110 * scripttempl/elf.sc (PREINIT_ARRAY): New.
111 Don't add .preinit_array for ld -r.
112 * testsuite/ld-elf/pr22677.d: New file.
113 * testsuite/ld-elf/pr22677.s: Likewise.
115 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
117 * ldexp.h (union etree_union): Remove defsym field.
118 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
120 (exp_assign): Remove passing of defsym parameter.
121 (exp_defsym): Likewise.
122 (exp_provide): Likewise.
124 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
126 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
127 nodes are ignored in the tree walk, and move the location at which
128 we change provide nodes into provided nodes.
129 (exp_init_os): Add etree_provided.
130 * testsuite/ld-scripts/provide-6.d: New file.
131 * testsuite/ld-scripts/provide-6.t: New file.
132 * testsuite/ld-scripts/provide-7.d: New file.
133 * testsuite/ld-scripts/provide-7.t: New file.
134 * testsuite/ld-scripts/provide-8.d: New file.
135 * testsuite/ld-scripts/provide-8.t: New file.
137 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
139 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
140 * testsuite/ld-scripts/provide-4.d: Use new map file name.
141 * testsuite/ld-scripts/provide-5.d: Use new map file name.
142 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
143 * testsuite/ld-scripts/provide-4.map: ...this.
144 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
145 * testsuite/ld-scripts/provide-5.map: ...this.
146 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
147 file, and run tests in a loop.
149 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
151 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
153 * testsuite/ld-scripts/provide-4.map: Update expected output.
154 * testsuite/ld-scripts/provide-5.map: Likewise.
156 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
159 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
161 2018-01-09 Jim Wilson <jimw@sifive.com>
163 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
164 (#alltargets): Renamed from #target. Add shared.
165 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
166 Document alltargets option. Add support for alltargets option.
167 (istarget): Add support for shared target.
169 2018-01-08 Jim Wilson <jimw@sifive.com>
171 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
173 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
174 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
175 tests, add call to check_shared_lib_support.
177 2018-01-05 Jim Wilson <jimw@sifive.com>
179 * testsuite/ld-riscv-elf/disas-jalr.d: New.
180 * testsuite/ld-riscv-elf/disas-jalr.s: New.
181 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
183 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
184 case on $target, and don't set for riscv*-elf targets.
185 (GENERATE_PIE_SCRIPT): Likewise.
187 2018-01-03 Alan Modra <amodra@gmail.com>
189 Update year range in copyright notice of all files.
191 For older changes see ChangeLog-2017
193 Copyright (C) 2018 Free Software Foundation, Inc.
195 Copying and distribution of this file, with or without modification,
196 are permitted in any medium without royalty provided the copyright
197 notice and this notice are preserved.
203 version-control: never