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