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