Commit | Line | Data |
---|---|---|
a15af8e2 RW |
1 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2 | ||
8a0e2760 RW |
3 | * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep |
4 | rules. | |
5 | (eelf32_spu.o): Add dependency tracking. | |
6 | * Makefile.in: Regenerate. | |
7 | ||
a15af8e2 RW |
8 | * Makefile.am (am__skiplex, am__skipyacc): New. |
9 | * Makefile.in: Regenerate. | |
10 | ||
81ecdfbb RW |
11 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
12 | ||
14ec8efd RW |
13 | * Makefile.am (bin_PROGRAMS): Renamed from ... |
14 | (noinst_PROGRAMS): ... this. | |
15 | (transform): Override, including the renaming of ld-new to ld. | |
16 | (install-exec-local): Installation of ld in $(bindir) not needed | |
17 | here any more. | |
18 | (AM_CPPFLAGS): Renamed from ... | |
19 | (INCLUDES): ... this. | |
20 | (MAINTAINERCLEANFILES): Add ld.1. | |
21 | * Makefile.in: Regenerate. | |
22 | ||
64ac50ac RW |
23 | * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add |
24 | no-texinfo.tex, no-dist, foreign. | |
25 | (TEXINFO_TEX): New variable. | |
26 | (install-data-local): Removed, not needed any more. | |
27 | (all): Dependencies upon info and ld.1 not needed any more. | |
28 | (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed. | |
29 | (mkdep generated section): Removed. | |
30 | (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to | |
31 | use automake dependency tracking mechanism. | |
32 | (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and | |
33 | $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their | |
34 | dependencies are tracked too. | |
35 | (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they | |
36 | are built early. | |
37 | * configure.in: Use AM_MAINTAINER_MODE. | |
38 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
39 | ||
af542c2e RW |
40 | * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) |
41 | (install-pdf-recursive, html__strip_dir, install-html) | |
42 | (install-html-am, install-html-recursive): Remove. | |
43 | * Makefile.in: Regenerate. | |
44 | ||
81ecdfbb RW |
45 | * Makefile.in: Regenerate. |
46 | * aclocal.m4: Likewise. | |
47 | * config.in: Likewise. | |
48 | * configure: Likewise. | |
49 | ||
032b94c5 NC |
50 | 2009-08-21 Richard Guenther <rguenther@suse.de> |
51 | ||
52 | * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. | |
53 | ||
02688209 TG |
54 | 2009-08-12 Tristan Gingold <gingold@adacore.com> |
55 | ||
56 | * ld.h (fat_user_section_struct): Add map_symbol_def_count field. | |
57 | * ldlang.c (hash_entry_addr_cmp): New function. | |
58 | (print_all_symbols): Sort the symbols by address before printing them. | |
59 | ||
eaeb0a9d AM |
60 | 2009-08-10 Alan Modra <amodra@bigpond.net.au> |
61 | ||
62 | PR 10474 | |
63 | * ldemul.c (after_allocation_default): Run lang_relax_sections. | |
64 | * ldlang.h (lang_relax_sections): Declare. | |
65 | * ldlang.c (relax_sections): Delete. | |
66 | (lang_relax_sections): New function. | |
67 | (lang_process): Don't relax directly from here. | |
68 | * emultempl/alphaelf.em (alpha_finish): Call finish_default. | |
69 | * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body.. | |
70 | (gld${EMULATION_NAME}_finish): ..to here. Move existing code.. | |
71 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
72 | (LDEMUL_AFTER_ALLOCATION): Update. | |
73 | * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete. | |
74 | (avr_elf_after_allocation): New function. | |
75 | (LDEMUL_AFTER_ALLOCATION): Define. | |
76 | * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call | |
77 | lang_relax_sections. | |
78 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
79 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
80 | (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update. | |
81 | * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
82 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
83 | (LDEMUL_FINISH): Delete. | |
84 | (LDEMUL_AFTER_ALLOCATION): Define. | |
85 | * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
86 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
87 | (LDEMUL_FINISH): Delete. | |
88 | (LDEMUL_AFTER_ALLOCATION): Define. | |
89 | * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move.. | |
90 | (m68hc11elf_after_allocation): ..to here. New function. | |
91 | (LDEMUL_FINISH): Delete. | |
92 | (LDEMUL_AFTER_ALLOCATION): Define. | |
93 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
94 | gld${EMULATION_NAME}_after_allocation. | |
95 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call | |
96 | gld${EMULATION_NAME}_after_allocation. | |
97 | * emultempl/mmo.em (mmo_finish): Delete. Move body.. | |
98 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
99 | (LDEMUL_FINISH): Define. | |
100 | * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp. | |
101 | (gld${EMULATION_NAME}_finish): Move code sizing sections.. | |
102 | (gld${EMULATION_NAME}_after_allocation): ..to here. | |
103 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
104 | Call gld${EMULATION_NAME}_after_allocation. | |
105 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete | |
106 | bfd_elf_discard_info and map_segments call. | |
107 | ||
7ba29e2a NC |
108 | 2009-08-06 Michael Eager <eager@eagercon.com> |
109 | ||
110 | * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to | |
111 | ALL_EMULATIONS, targets. | |
112 | * Makefile.in: Regenerate. | |
113 | * configure.tgt: Add microblaze*-linux*, microblaze* targets. | |
114 | * emulparams/elf32mb_linux.sh: New. | |
115 | * emulparams/elf32microblaze.sh. New. | |
116 | * scripttempl/elfmicroblaze.sc: New. | |
117 | ||
9cc305ec TS |
118 | 2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> |
119 | ||
120 | * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup | |
121 | section and __fixup_start symbol. | |
122 | * emultempl/spuelf.em (params): Initialize emit_fixups member. | |
123 | (spu_before_allocation): Call spu_elf_size_sections. | |
124 | (OPTION_SPU_EMIT_FIXUPS): Define. | |
125 | (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. | |
126 | (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. | |
127 | * ld.texinfo (--emit-fixups): Document. | |
128 | ||
07088e95 AM |
129 | 2009-08-04 Alan Modra <amodra@bigpond.net.au> |
130 | ||
131 | PR 10474 | |
132 | * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, | |
133 | not size, after lang_reset_memory_regions. | |
134 | ||
8dfab6dd AM |
135 | 2009-07-30 Alan Modra <amodra@bigpond.net.au> |
136 | ||
137 | * emulparams/elf32ppc.sh (PLT): Don't include ".iplt". | |
138 | * emulparams/elf_i386.sh (IREL_IN_PLT): Define. | |
139 | * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. | |
140 | * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections | |
141 | when !IREL_IN_PLT. | |
142 | ||
18c32df5 HPN |
143 | 2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> |
144 | ||
145 | * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to | |
146 | the new $RELOCATEABLE_OUTPUT_FORMAT, if set. | |
147 | (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. | |
148 | (ENTRY): Don't emit for relocateable links. | |
149 | (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. | |
150 | * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to | |
151 | elf64-mmix. | |
152 | * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't | |
153 | provide "Main" or set "_start.", for relocateable links. | |
154 | ||
c38fbd5c NC |
155 | 2009-07-27 Nick Clifton <nickc@redhat.com> |
156 | ||
157 | * (po/fi.po): Updated Finnish translation. | |
158 | ||
8a9036a4 L |
159 | 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> |
160 | ||
161 | * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 | |
162 | is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. | |
163 | (targ_extra_emuls): Likewise. | |
164 | ||
165 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and | |
166 | eelf_l1om_fbsd.o | |
167 | (eelf_l1om.c): New. | |
168 | (eelf_l1om_fbsd.c): Likewise. | |
169 | * Makefile.in: Regenerated. | |
170 | ||
171 | * emulparams/elf_l1om.sh: New. | |
172 | * emulparams/elf_l1om_fbsd.sh: Likewise. | |
173 | ||
3e7a7d11 NC |
174 | 2009-07-23 Ulrich Drepper <drepper@redhat.com> |
175 | ||
176 | * NEWS: Mention the linker's support for symbols with a binding of | |
177 | STB_GNU_UNIQUE. | |
178 | ||
249b2a84 L |
179 | 2009-07-22 H.J. Lu <hongjiu.lu@intel.com> |
180 | ||
181 | PR ld/10429 | |
182 | * ldlang.c (insert_os_after): Tie assignments to non-alloc | |
183 | output sections if there is no-input section. | |
184 | ||
0fa4d7cf AM |
185 | 2009-07-11 Alan Modra <amodra@bigpond.net.au> |
186 | ||
187 | * ldlang.c (insert_os_after): Don't tie assignments to non-alloc | |
188 | output sections. | |
189 | ||
4135c73b AM |
190 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
191 | ||
192 | * emultempl/ppc32elf.em (ppc_before_allocation): Turn on | |
193 | linker relaxation if it might be necessary. | |
194 | ||
e054468f AM |
195 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
196 | ||
197 | * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. | |
198 | ||
07d8eb55 NC |
199 | 2009-07-06 Matthias Klose <doko@ubuntu.com> |
200 | ||
249b2a84 | 201 | * ld.texinfo: Fix typo. |
07d8eb55 | 202 | |
27505b5d TG |
203 | 2009-07-03 Tristan Gingold <gingold@adacore.com> |
204 | ||
205 | * scripttempl/pep.sc: Put .eh_frame in its own section. | |
206 | * scripttempl/pe.sc: Ditto. | |
207 | ||
a626fe20 KT |
208 | 2009-06-26 Kai Tietz <kai.tietz@onevision.com> |
209 | ||
210 | * scripttempl/pe.sc (.debug_pubtypes): Added section rule. | |
211 | * scripttempl/pep.sc: Likewise. | |
212 | ||
d64703c6 TG |
213 | 2009-06-25 Tristan Gingold <gingold@adacore.com> |
214 | ||
215 | * ldlang.c (print_input_section): Add is_discarded parameter. Adjust | |
216 | prototype. | |
217 | (lang_map): Print the size of discarded sections. | |
218 | (print_statement): Adjust call to print_input_section. | |
219 | ||
361dff73 DK |
220 | 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
221 | ||
32425da9 | 222 | Merge cegcc and mingw32ce target name changes from CeGCC project: |
361dff73 | 223 | |
32425da9 | 224 | 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> |
361dff73 DK |
225 | |
226 | * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to | |
227 | ${tooldir}/lib/w32api. | |
228 | ||
32425da9 | 229 | 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
230 | |
231 | * configure.tgt: Add arm*-*-cegcc* target. | |
232 | ||
32425da9 | 233 | 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
234 | |
235 | * configure.tgt: Add arm-*-mingw32ce* target. | |
236 | ||
f3711133 PB |
237 | 2009-06-10 Philip Blundell <philb@gnu.org> |
238 | ||
239 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash | |
240 | if section has no ELF data. | |
241 | ||
2a81c24a L |
242 | 2009-06-06 H.J. Lu <hongjiu.lu@intel.com> |
243 | ||
244 | * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. | |
245 | ||
fc1e8789 L |
246 | 2009-06-05 H.J. Lu <hongjiu.lu@intel.com> |
247 | ||
248 | * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. | |
249 | ||
67a648f1 AM |
250 | 2009-06-04 Alan Modra <amodra@bigpond.net.au> |
251 | ||
252 | * dep-in.sed: Don't use \n in replacement part of s command. | |
253 | * Makefile.am (DEP1): LC_ALL for uniq. | |
254 | * Makefile.in: Regenerate. | |
255 | ||
3aa14d16 L |
256 | 2009-06-01 H.J. Lu <hongjiu.lu@intel.com> |
257 | ||
258 | * scripttempl/elf.sc (PLT): Add "*(.iplt)". | |
259 | (GOT): Add "*(.igot.plt)a" and "*(.igot)". | |
260 | (GOTPLT): Add "*(.igot)". | |
261 | (__rel_iplt_start): New. | |
262 | (__rel_iplt_end): Likewise. | |
263 | (__rela_iplt_start): Likewise. | |
264 | (__rela_iplt_end): Likewise. | |
265 | ||
05056a8d DK |
266 | 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> |
267 | ||
268 | * deffilep.y (%union): Add new string-type semantic value 'digits'. | |
269 | (%token): Remove NUMBER as token, add DIGITS. | |
270 | (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. | |
271 | (ALIGNCOMM): Parse an anylang_id instead of a plain ID. | |
272 | (anylang_id): New production. | |
273 | (opt_digits): Likewise. | |
274 | (opt_id): Likewise. | |
275 | (NUMBER): Likewise. | |
276 | (def_lex): Return strings of digits in raw string form as DIGITS | |
277 | token, instead of converting to numeric integer type. | |
278 | ||
c8a1f254 NS |
279 | 2009-05-26 Nathan Sidwell <nathan@codesourcery.com> |
280 | ||
281 | * ldmain.c (main): Don't reject --relax -r. | |
282 | * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing | |
283 | partial links. | |
284 | ||
f12e7348 NC |
285 | 2009-05-26 Nick Clifton <nickc@redhat.com> |
286 | ||
287 | * po/id.po: Updated Indonesian translation. | |
288 | * po/ld.pot: Updated template file. | |
289 | ||
00f3247a AM |
290 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
291 | ||
292 | * dep-in.sed: Output one filename per line with all lines having | |
293 | continuation backslash. Prefix first line with "A", following | |
294 | lines with "B". | |
295 | * Makefile.am (DEP): Don't use dep.sed here. | |
296 | (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, | |
297 | sort and uniq. | |
298 | * Makefile.in: Regenerate. | |
299 | ||
e50d6125 AM |
300 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
301 | ||
302 | * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections. | |
303 | ||
48229727 JB |
304 | 2009-05-22 Julian Brown <julian@codesourcery.com> |
305 | ||
306 | * emultempl/armelf.em (fix_cortex_a8): New. | |
307 | (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. | |
308 | (arm_elf_create_output_section_statements): Add fix_cortex_a8 to | |
309 | bfd_elf32_arm_set_target_relocs. | |
310 | (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. | |
311 | (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. | |
312 | (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. | |
313 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. | |
314 | * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. | |
315 | ||
ec6d26be NS |
316 | 2009-05-22 Nathan Sidwell <nathan@codesourcery.com> |
317 | ||
318 | * ldlang.c (lang_check_section_addresses): Ignore non-loadable | |
319 | sections when checking for overlap. Clarify error message | |
320 | concerns load address. | |
321 | ||
2b3decb5 AM |
322 | 2009-05-22 Alan Modra <amodra@bigpond.net.au> |
323 | ||
324 | * Makefile.am: Run "make dep-am". | |
325 | * Makefile.in: Regenerate. | |
326 | ||
c1711530 DK |
327 | 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> |
328 | ||
329 | * NEWS: Mention new feature. | |
330 | * deffile.h (def_file_aligncomm): Add new struct definition. | |
331 | (def_file): Add new def_file_aligncomm member. | |
332 | * deffilep.y (%token): Add new ALIGNCOMM token. | |
333 | (command): Add production rule for ALIGNCOMM. | |
334 | (def_file_free): Free any chained def_file_aligncomm structs. | |
335 | (diropts[]): Add entry for '-aligncomm' .drectve command. | |
336 | (def_aligncomm): New grammar function. | |
337 | * ld.texinfo: Document new feature. | |
338 | * pe-dll.c (process_def_file): Rename from this ... | |
339 | (process_def_file_and_drectve): ... to this, updating all callers, | |
340 | and process any aligncomms chained to the def file after scanning | |
341 | all .drectve sections. | |
342 | (generate_edata): Updated to match. | |
343 | (pe_dll_build_sections): Likewise. | |
344 | ||
b982bd05 | 345 | 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
177b81d6 DK |
346 | |
347 | * pe-dll.c (process_def_file): Do not create empty export table. | |
348 | ||
d127ecce AM |
349 | 2009-05-15 Alan Modra <amodra@bigpond.net.au> |
350 | ||
351 | * ldlang.c (lang_output_section_statement_lookup): Add function | |
352 | comment. Make "name" non-const. Ensure duplicate entries use | |
353 | the same string, allowing simple comparison in hash bucket loop. | |
354 | Tweak constraint check. | |
355 | (next_matching_output_section_statement): New function. | |
356 | * ldlang.h (lang_output_section_statement_lookup): Update. | |
357 | (next_matching_output_section_statement): Declare. | |
358 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
359 | combine orphan sections when input sections flags differ in | |
360 | alloc or load. | |
361 | * emultempl/pe.em: Formatting throughout. | |
362 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
363 | * emultempl/pep.em: Formatting throughout. | |
364 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
365 | ||
cdc83fba UW |
366 | 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
367 | ||
368 | * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use | |
369 | compact stubs with software i-cache. | |
370 | ||
bbb0fc04 AM |
371 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
372 | ||
373 | * emultempl/spuelf.em (spu_before_allocation): Call | |
374 | spu_elf_place_overlay_data. | |
375 | ||
011aa75f AM |
376 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
377 | ||
378 | * ldlang.c (lang_insert_orphan): Add __start_<section> symbol | |
379 | assignment inside output section statement. Ensure only one | |
380 | set of symbols per output section. | |
381 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non- | |
382 | dollar sections before dollar sections. Correct add_child | |
383 | list insertion. | |
384 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
385 | ||
2468f9c9 PB |
386 | 2009-05-05 Paul Brook <paul@codesourcery.com> |
387 | ||
388 | * emultempl/armelf.em (compare_output_sec_vma): New function. | |
389 | (gld${EMULATION_NAME}_finish): Add exidx munging code. | |
390 | ||
84f1b567 NC |
391 | 2009-05-05 Anatoly Sokolov <aesok@post.ru> |
392 | ||
393 | * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. | |
394 | * emulparams/avr1.sh (DATA_ORIGIN): Add. | |
395 | * emulparams/avr2.sh (DATA_ORIGIN): Add. | |
396 | * emulparams/avr25.sh (DATA_ORIGIN): Add. | |
397 | * emulparams/avr3.sh (DATA_ORIGIN): Add. | |
398 | * emulparams/avr31.sh (DATA_ORIGIN): Add. | |
399 | * emulparams/avr35.sh (DATA_ORIGIN): Add. | |
400 | * emulparams/avr4.sh (DATA_ORIGIN): Add. | |
401 | * emulparams/avr5.sh (DATA_ORIGIN): Add. | |
402 | * emulparams/avr51.sh (DATA_ORIGIN): Add. | |
403 | (DATA_LENGTH): Update. | |
404 | * emulparams/avr6.sh (DATA_ORIGIN): Add. | |
405 | (DATA_LENGTH): Update. | |
406 | ||
09e2aba4 DK |
407 | 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> |
408 | ||
409 | * NEWS: Mention new feature. | |
410 | * ld.texinfo (--version-script): Document extent of PE support. | |
411 | (WIN32): Mention --version-script. Extend auto-export description. | |
412 | * pe-dll.c (process_def_file): Use version script info to filter | |
413 | symbols from auto-export. | |
414 | * testsuite/ld-pe/vers-script-1.d: New file. | |
415 | * testsuite/ld-pe/vers-script-2.d: New file. | |
416 | * testsuite/ld-pe/vers-script-3.d: New file. | |
417 | * testsuite/ld-pe/vers-script-4.d: New file. | |
418 | * testsuite/ld-pe/vers-script-1.ver: New file. | |
419 | * testsuite/ld-pe/vers-script-2.ver: New file. | |
420 | * testsuite/ld-pe/vers-script-3.ver: New file. | |
421 | * testsuite/ld-pe/vers-script-4.ver: New file. | |
422 | * testsuite/ld-pe/vers-script-dll.c: New file. | |
423 | * testsuite/ld-pe/vers-script.exp: New test script. | |
424 | ||
1f7f5cbe NS |
425 | 2009-05-01 Nathan Sidwell <nathan@codesourcery.com> |
426 | ||
427 | * emulparams/vxworks.sh (TEXT_START_ADDR): Override. | |
428 | ||
d8045f23 NC |
429 | 2009-04-30 Nick Clifton <nickc@redhat.com> |
430 | ||
431 | * NEWS: Mention support for IFUNC symbols. | |
432 | ||
efaf18f3 AG |
433 | 2009-04-29 Anthony Green <green@moxielogic.com> |
434 | ||
435 | * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack | |
436 | position out to accommodate larger programs. | |
437 | ||
267e2722 CD |
438 | 2009-04-29 Chris Demetriou <cgd@google.com> |
439 | ||
440 | * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. | |
441 | (ld_options): Likewise. | |
442 | (parse_args): Likewise. | |
443 | * ld.texinfo: Document --no-export-dynamic. | |
444 | * NEWS: Mention --no-export-dynamic. | |
445 | ||
8e58566f AM |
446 | 2009-04-29 Alan Modra <amodra@bigpond.net.au> |
447 | ||
448 | * deffilep.y (STACKSIZE_K): Rename from STACKSIZE. | |
449 | ||
f50230ae AM |
450 | 2009-04-25 Alan Modra <amodra@bigpond.net.au> |
451 | ||
452 | PR 10061 | |
453 | * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT | |
454 | param. | |
455 | ||
3e6b1042 DJ |
456 | 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> |
457 | ||
458 | * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) | |
459 | (arm_elf_set_bfd_for_interworking): Delete. | |
460 | (arm_elf_before_allocation): Do not set the interworking BFD. | |
461 | Move allocation inside not-dynamic block. | |
462 | (arm_elf_create_output_section_statements): Create glue sections | |
463 | and set the interworking BFD here. | |
464 | (LDEMUL_AFTER_OPEN): Delete. | |
465 | ||
3023e3f6 RS |
466 | 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
467 | ||
468 | * ldlang.c (lang_one_common): Use bfd_define_common_symbol. | |
469 | ||
20135e4c NC |
470 | 2009-04-15 Anthony Green <green@moxielogic.com> |
471 | ||
472 | * configure.tgt: Add moxie support. | |
473 | * Makefile.am: Add moxie files. | |
474 | * Makefile.in: Rebuilt. | |
475 | * emulparams/elf32moxie.sh: New file. | |
476 | * scripttempl/moxie.sc: New file. | |
477 | ||
39e65143 KH |
478 | 2009-04-15 Kazu Hirata <kazu@codesourcery.com> |
479 | ||
480 | * ldlang.c: Do not include limits.h. | |
481 | ||
c38b10fa AM |
482 | 2009-04-14 Alan Modra <amodra@bigpond.net.au> |
483 | ||
484 | PR ld/10047 | |
485 | * ldfile.c (find_scripts_dir): Use make_relative_prefix to find | |
486 | ldscripts in build tree. Don't repeat search for ../lib/ldscripts. | |
487 | ||
8c3e16f4 L |
488 | 2009-04-13 H.J. Lu <hongjiu.lu@intel.com> |
489 | ||
490 | * ldfile.c (ldfile_find_command_file): Revert the last change. | |
491 | ||
6dc6e834 L |
492 | 2009-04-11 H.J. Lu <hongjiu.lu@intel.com> |
493 | ||
494 | PR ld/10047 | |
495 | * ldfile.c (ldfile_find_command_file): First try raw name. | |
496 | ||
0c71d759 NC |
497 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
498 | ||
499 | PR 9824 | |
500 | * ld.texinfo (Output Section Constraint): New node. Documents the | |
501 | ONLY_IF_RO and ONLY_IF_RW constraints. | |
502 | (Symbolic Constants): New node. Documents the CONSTANT operator. | |
503 | ||
fc15a272 AM |
504 | 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> |
505 | ||
506 | * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place | |
507 | of fork/execvp. | |
508 | ||
a0c402a5 L |
509 | 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> |
510 | ||
511 | * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. | |
512 | (ld_options): Likewise. | |
513 | (parse_args): Likewise. | |
514 | ||
515 | * ld.texinfo: Document --warn-alternate-em. | |
516 | ||
517 | * NEWS: Mention --warn-alternate-em. | |
518 | ||
4d28413b DD |
519 | 2009-04-07 DJ Delorie <dj@redhat.com> |
520 | ||
521 | * emulparams/elf32mep.sh: Change default endian to little. | |
522 | ||
6ce340f1 NC |
523 | 2009-04-07 Nick Clifton <nickc@redhat.com> |
524 | ||
525 | * ld.texinfo (Output Section Address): Note that specifying an | |
526 | address for an output section will only change the location | |
527 | counter if the output section is used. | |
528 | ||
32252ac1 KH |
529 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
530 | ||
531 | * ldfile.c (ldfile_find_command_file): Initialize result. | |
532 | ||
7d24f02c KH |
533 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
534 | ||
535 | * ld.texinfo (-L): Mention that -L options do not affect how ld | |
536 | searches for a linker script unless -T option is specified. | |
537 | * ldfile.c (ldfile_find_command_file): Append the path obtained | |
538 | from the program name to the search path instead of | |
539 | prepending. Add a new parameter "default_only". Restrict the | |
540 | search to the default script location if the new parameter is | |
541 | true. | |
542 | (ldfile_open_command_file_1): New. | |
543 | (ldfile_open_command_file): Call ldfile_open_command_file_1. | |
544 | (ldfile_open_default_command_file): New. | |
545 | ||
113e6845 NS |
546 | 2009-04-03 Nathan Sidwell <nathan@codesourcery.com> |
547 | ||
548 | * ldlang.c (lang_leave_output_section_statement): Set lma_region | |
549 | if it is not overridden and section is for the same vma region as | |
550 | the previous section. | |
551 | ||
8b747e1a DK |
552 | 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> |
553 | ||
554 | PR ld/6744 | |
555 | * ld.texinfo (--export-dynamic): Mention --export-all-symbols. | |
556 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue | |
557 | warning if --export-dynamic was passed on command-line. | |
558 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. | |
559 | ||
24c611d1 RS |
560 | 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> |
561 | ||
562 | * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New | |
563 | function. | |
564 | (ld_${EMULATION_NAME}_emulation): Use it. | |
565 | ||
4bf27aa9 L |
566 | 2009-03-20 H.J. Lu <hongjiu.lu@intel.com> |
567 | ||
568 | PR ld/9970 | |
569 | * ldlang.c (lang_end): Warn missing entry symbol for -pie. | |
570 | ||
ad2adbc8 AM |
571 | 2009-03-19 Alan Modra <amodra@bigpond.net.au> |
572 | ||
573 | * emultempl/spuelf.em (spu_before_allocation): Report errors from | |
574 | spu_elf_find_overlays. | |
575 | ||
e9dfee34 L |
576 | 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> |
577 | ||
578 | PR ld/6766 | |
579 | * lexsup.c (parse_args): Call ldlang_add_undef for -e. | |
580 | ||
8d25cc3d AM |
581 | 2009-03-18 Alan Modra <amodra@bigpond.net.au> |
582 | ||
583 | * ld.h: Remove alloca handling. | |
584 | ||
a7e11ee1 AM |
585 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
586 | ||
587 | * emultempl/spu_icache.S: Add new entry to dummy handler. | |
588 | * emultempl/spu_icache.o_c: Regenerate. | |
589 | * emultempl/spuelf.em (params): Init new field. | |
590 | (no_overlays): New static var. | |
591 | (spu_before_allocation): Use it. | |
592 | (OPTION_SPU_COMPACT_STUBS): Define. | |
593 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. | |
594 | (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays | |
595 | handling. | |
596 | ||
bba21f15 AM |
597 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
598 | ||
599 | * configure.host (HOSTING_LIBS): Two dollars on shell variable | |
600 | expansion to suit make. | |
601 | ||
eccbf555 AM |
602 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
603 | ||
604 | * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. | |
605 | * Makefile.am (check-DEJAGNU): Set DO_COMPARE. | |
606 | * aclocal.m4: Regenerate. | |
607 | * configure: Regenerate. | |
608 | * Makefile.in: Regenerate. | |
609 | ||
b64232cc RS |
610 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
611 | ||
612 | * emultempl/aix.em (auto_export_flags): New variable. | |
613 | (explicit_auto_export_flags): Likewise. | |
614 | (OPTION_EXPALL, OPTION_EXPFULL): New enum values. | |
615 | (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. | |
616 | (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, | |
617 | -bnoexpall and -bnoexpfull. | |
618 | (gld${EMULATION_NAME}_handle_option): Handle them. | |
619 | (gld${EMULATION_NAME}_before_allocation): Update the call to | |
620 | bfd_size_dynamic_sections. | |
621 | ||
858ef0ce RS |
622 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
623 | ||
624 | * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make | |
625 | -berok and -bernotok control link_info.unresolved_syms_in_objects | |
626 | and link_info.unresolved_syms_in_shared_libs instead of | |
627 | force_make_executable. | |
628 | ||
62008a16 RS |
629 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
630 | ||
631 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set | |
632 | config.dynamic_link to TRUE. | |
633 | ||
9ec59d51 RS |
634 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
635 | ||
636 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark | |
637 | .text, .data and .bss output sections as SEC_KEEP. | |
638 | ||
e5231592 RS |
639 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
640 | ||
641 | * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. | |
642 | ||
2f563b51 | 643 | 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> |
249b2a84 | 644 | Danny Smith <dannysmith@users.sourceforge.net> |
2f563b51 DK |
645 | |
646 | * emultmpl/pe.em (pe_dll_characteristics): New variable. | |
647 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
648 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
649 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
650 | New macros for options to set DllCharacteristics flag bits. | |
651 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
652 | nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
653 | (init): Add DllCharacteristics field. | |
654 | (gld_${EMULATION_NAME}_list_options): List new options. | |
655 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
656 | * emultmpl/pep.em (pe_dll_characteristics): New variable. | |
657 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
658 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
659 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
660 | New macros for options to set DllCharacteristics flags. | |
661 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
662 | nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
663 | (init): Add DllCharacteristics field. | |
664 | (gld_${EMULATION_NAME}_list_options): List new options. | |
665 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
666 | * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, | |
667 | no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
668 | ||
d11fd249 NC |
669 | 2009-03-06 Nick Clifton <nickc@redhat.com> |
670 | ||
671 | * po/es.po: Updated Spanish translation. | |
672 | ||
3efd345c DK |
673 | 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> |
674 | ||
675 | * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. | |
676 | (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections | |
677 | of all input BFDs, looking for debug info. Enable long section names | |
678 | if any found. | |
679 | * emultempl/pe.em (debug_section_p): Likewise. | |
680 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
681 | * NEWS: Retrospectively adjust news announcement. | |
682 | * ld.texinfo: Update documentation to mention new behaviour. | |
683 | ||
a1f7ca36 AM |
684 | 2009-03-03 Alan Modra <amodra@bigpond.net.au> |
685 | ||
686 | * Makefile.am: Run "make dep-am". | |
687 | * Makefile.in: Regenerate. | |
688 | ||
4a93e180 NC |
689 | 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
690 | ||
691 | * ldgram.y: Add support for REGION_ALIAS operator. | |
692 | * ldlang.c: Likewise. | |
693 | * ldlang.h: Likewise. | |
694 | * ldlex.l: Likewise. | |
695 | * NEWS: Mention the new feature. | |
696 | * ld.texinfo: Document the new feature. | |
697 | ||
c3b7224a NC |
698 | 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> |
699 | ||
700 | * Makefile.am: Replace score elf emulation with score3 and score7 | |
701 | emulations. | |
702 | * Makefile.in: Regenerate, | |
703 | * NEWS: Mention support for Score7 architecture. | |
704 | * configure.tgt: Add score7 emulation to score-elf target. | |
705 | * emulparams/scoreelf.sh: Add score7 support. | |
706 | * emultempl/scoreelf.em: Likewise. | |
707 | ||
d1bbb13a DA |
708 | 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
709 | ||
710 | * configure.tgt: Only use elf64hppa target emulation for hpux. | |
711 | * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. | |
712 | (SCRIPT_NAME): Use new script elf64hppa. | |
713 | (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, | |
714 | TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, | |
715 | OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, | |
716 | DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, | |
717 | TEXT_DYNAMIC): Define. | |
718 | * emulparams/hppa64linux.sh: Adjust comments. | |
719 | * scripttempl/elf64hppa.sc: New file. | |
720 | ||
58e24671 RW |
721 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
722 | ||
723 | * configure: Regenerate. | |
724 | ||
5b9c6027 DK |
725 | 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> |
726 | ||
727 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set | |
728 | default state of auto-import flag based on $target. | |
729 | ||
07d72278 DJ |
730 | 2009-02-24 Joseph Myers <joseph@codesourcery.com> |
731 | ||
732 | * ld.texinfo (ARM): Document changed meaning of --stub-group-size. | |
733 | * emultempl/armelf.em (hook_in_stub): Insert after the input section. | |
734 | (elf32_arm_add_stub_section): Update comment. | |
735 | (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. | |
736 | ||
2509a395 SL |
737 | 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> |
738 | ||
739 | * ld.texinfo (Options): Correct typos in example. Recommend | |
740 | using joined forms of syntax for passing options with arguments | |
741 | from a driver. | |
742 | (-a): Use consistent syntax for documenting option arguments. | |
743 | Clean up indexing and markup. | |
744 | (-A/--architecture): Likewise. | |
745 | (-f/--auxiliary): Likewise. | |
746 | (-F/--filter): Likewise. | |
747 | (-fini): Likewise. | |
748 | (-G/--gpsize): Likewise. | |
749 | (-h/-soname):Likewise. | |
750 | (-init): Likewise. | |
751 | (-l/--library): Likewise. | |
752 | (-L/--library-path): Likewise. | |
753 | (-m): Likewise. | |
754 | (--defsym): Likewise. | |
755 | (-I/--dynamic-linker): Likewise. | |
756 | (-Map): Likewise. | |
757 | (--oformat): Likewise. | |
758 | (--retain-symbols-file): Likewise. | |
759 | (-rpath): Likewise. | |
760 | (-rpath-link): Likewise. | |
761 | (--sort-common): Likewise. | |
762 | (--sort-section): Likewise. | |
763 | (--split-by-file): Likewise. | |
764 | (--split-by-reloc): Likewise. | |
765 | (--sysroot): Likewise. | |
766 | (--section-start): Likewise. | |
767 | (-Tbss, -Tdata, -Ttext): Likewise. | |
768 | (-Ttext-segment): Likewise. | |
769 | (--version-script): Likewise. | |
770 | (--wrap): Likewise. | |
771 | ||
44cf6883 | 772 | 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> |
88183869 DK |
773 | |
774 | * ld.texinfo: Update to mention long section name options. | |
775 | * NEWS: Mention new behaviour and command-line options. | |
776 | * pe-dll.c (pe_use_coff_long_section_names): New global variable. | |
777 | (pe_output_file_set_long_section_names): New function. | |
778 | (pe_dll_build_sections): Call it on output BFDs. | |
779 | (pe_exe_build_sections): Likewise. | |
780 | (pe_dll_fill_sections): Likewise. | |
781 | (pe_exe_fill_sections): Likewise. | |
782 | * pe-dll.h (pe_use_coff_long_section_names): Declare extern. | |
783 | (pe_output_file_set_long_section_names): Add prototype. | |
784 | * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. | |
785 | (pe_output_file_set_long_section_names): Likewise. | |
786 | * pep-dll.h (pep_use_coff_long_section_names): Declare extern. | |
787 | (pep_output_file_set_long_section_names): Add prototype. | |
788 | * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. | |
789 | (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. | |
790 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
791 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
792 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
793 | pe_use_coff_long_section_names flag when options recognised. | |
794 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
795 | for main output bfd by calling pe_output_file_set_long_section_names. | |
796 | * pep.em (enum options): Extend enum with new getopt option values. | |
797 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
798 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
799 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
800 | pe_use_coff_long_section_names flag when options recognised. | |
801 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
802 | for main output bfd by calling pep_output_file_set_long_section_names. | |
803 | ||
1491f1f0 DK |
804 | 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> |
805 | ||
806 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit | |
807 | inadvertent .reloc sections caused by refactoring accident. | |
808 | ||
d2ae7be0 AM |
809 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
810 | ||
811 | * ldlang.c (process_insert_statements): ASSERT that output section | |
812 | statements are in order. | |
813 | ||
bde18da4 AM |
814 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
815 | ||
816 | * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. | |
817 | (stat_save, stat_save_ptr): New variables. | |
818 | (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. | |
819 | (load_symbols): Likewise. Delete dead "bad_load" code. | |
820 | (open_input_bfds): Warn on script containing output sections. | |
821 | (lang_enter_output_section_statement): Use push_stat_ptr. | |
822 | (lang_enter_group): Likewise. | |
823 | (lang_leave_output_section_statement): Use pop_stat_ptr. | |
824 | (lang_leave_group): Likewise. | |
825 | * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. | |
826 | * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. | |
827 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
828 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
829 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
830 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
831 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. | |
832 | ||
662ef24b NS |
833 | 2009-02-09 Nathan Sidwell <nathan@codesourcery.com> |
834 | ||
835 | Missing piece of 2009-01-26 commit | |
836 | * ldlang.c (lang_process): Don't consider relocatable flag when | |
837 | checking for overlap. | |
838 | ||
268e4015 JM |
839 | 2009-02-05 Joseph Myers <joseph@codesourcery.com> |
840 | ||
841 | * emulparams/m68kelf.sh: Add newline at end of file. | |
842 | ||
903249d7 NC |
843 | 2009-02-04 Nick Clifton <nickc@redhat.com> |
844 | ||
845 | PR 9805 | |
846 | * ld.texinfo (--allow-shlib-undefined): Correct description of | |
847 | default settings and tidy up the rest of the entry. | |
848 | ||
df636c05 AM |
849 | 2009-02-04 Alan Modra <amodra@bigpond.net.au> |
850 | ||
851 | * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* | |
852 | during relocatable link. | |
853 | ||
8a308ae8 NC |
854 | 2009-02-03 Nick Clifton <nickc@redhat.com> |
855 | ||
856 | PR 9797 | |
857 | * ld.texinfo (Constants): Document the base-encoding suffixes | |
858 | supported in linker scripts. | |
859 | ||
28024d9d L |
860 | 2009-02-03 Alan Modra <amodra@bigpond.net.au> |
861 | ||
862 | * NEWS: Mention --as-needed change. | |
863 | ||
31dd3154 JM |
864 | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> |
865 | ||
866 | * configure.in: AC_SUBST pdfdir. | |
867 | * Makefile.am: Add install-pdf, install-pdf-am, | |
868 | and install-pdf-recursive targets. Define pdf__strip_dir. | |
869 | * po/Make-in: Add install-pdf target. | |
870 | * configure: Regenerate. | |
871 | * Makefile.in: Regenerate. | |
872 | ||
010e5ae2 AM |
873 | 2009-01-31 Alan Modra <amodra@bigpond.net.au> |
874 | ||
875 | * ld.texinfo (--as-needed): Update. | |
876 | ||
893dcb0e JM |
877 | 2009-01-29 Andrew Jenner <andrew@codesourcery.com> |
878 | ||
879 | * emultempl/armelf.em: Correct formatting of help text for | |
880 | --no-enum-size-warning option. | |
881 | ||
02b0b1aa NS |
882 | 2009-01-26 Nathan Sidwell <nathan@codesourcery.com> |
883 | ||
884 | * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. | |
885 | * ld.h (args_type): Make check_section_addresses a char. | |
02b0b1aa NS |
886 | * ldmain.c (main): Default check_section_addresses to -1. Check it |
887 | for relocatable links. | |
888 | * ld.texinfo (--check-sections): Update documentation. | |
889 | ||
9382254d KT |
890 | 2009-01-26 Kai Tietz <kai.tietz@onevision.com> |
891 | ||
892 | * pe-dll.c (tmp_seq2): New static variable. | |
893 | (make_singleton_name_imp): New. | |
894 | (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and | |
895 | avoid duplicate import table generation for same symbol. | |
896 | (pe_create_runtime_relocator_reference): Make reference for | |
897 | 64-bit 8 bytes. | |
898 | ||
fb266b8b AM |
899 | 2009-01-21 Alan Modra <amodra@bigpond.net.au> |
900 | ||
901 | * emultempl/spuelf.em (params): Init new field. | |
902 | (OPTION_SPU_NON_IA_TEXT): Define. | |
903 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. | |
904 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. | |
905 | ||
258795f5 L |
906 | 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> |
907 | ||
908 | * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. | |
909 | (ld_options): Add -Ttext-segment. | |
910 | (parse_args): Handle OPTION_TTEXT_SEGMENT. | |
911 | ||
912 | * ld.texinfo: Document -Ttext-segment. | |
913 | ||
914 | * NEWS: Mention -Ttext-segment. | |
915 | ||
916 | * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. | |
917 | (SHLIB_TEXT_START_ADDR): Likewise. | |
918 | ||
8d8047c4 AM |
919 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
920 | ||
921 | * emultempl/spu_icache.o_c: Regenerate. | |
922 | ||
cd4a7468 AM |
923 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
924 | ||
925 | * emultempl/spuelf.em (params): Init new fields. | |
926 | (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. | |
927 | (spu_place_special_section): Adjust placement for soft-icache. Pad | |
928 | soft-icache section to a fixed size. Clear addr_tree. | |
929 | (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager | |
930 | sections a little more intelligently. | |
931 | (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. | |
932 | (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. | |
933 | (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. | |
934 | (OPTION_SPU_LRLIVE): Define. | |
935 | (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. | |
936 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
937 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
938 | * emultempl/spu_icache.S: Dummy file. | |
939 | * emultempl/spu_icache.o_c: Regenerate. | |
940 | * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. | |
941 | (spu_icache.o_c): Add rule to build. | |
942 | (CLEANFILES): Zap temp files. | |
943 | (EXTRA_DIST): Add spu_icache.o_c. | |
944 | * Makefile.in: Regenerate. | |
945 | ||
ce11ba6c KT |
946 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
947 | ||
948 | * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. | |
949 | (gld..._add_options): Add new option | |
950 | --use-nul-prefixed-import-tables. | |
951 | (gld..._handle_option): Likewise. | |
952 | * pep.em: Same as for pe.em. | |
953 | * ld.texinfo: Add new option documentation for | |
954 | --use-nul-prefixed-import-tables. | |
955 | * pe-dll.c (pe_use_nul_prefixed_import_tables): New. | |
956 | (make_head): Make prefix leading zero prefix element for | |
957 | idata$4 and idata$5 dependent to new flag. | |
958 | (make_import_fixup_entry): Remove idata4/5 prefix. | |
959 | * pe-dll.h (pe_use_nul_prefixed_import_tables): New. | |
960 | * pep-dll.c (pe_use_nul_prefixed_import_tables): New. | |
961 | * pep-dll.h (pep_use_nul_prefixed_import_tables): New. | |
962 | * NEWS: Add new option. | |
963 | ||
d34c1c51 KT |
964 | 2009-01-05 Kai Tietz <kai.tietz@onevision.com> |
965 | ||
966 | * emultempl/pe.em: Prefix dollar characters to be outputed in | |
967 | generated C file. | |
968 | * emultempl/pep.em: Likewise. | |
969 | ||
e1c37eb5 DK |
970 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
971 | ||
972 | * NEWS: Mention new feature --exclude-modules-for-implib. | |
973 | * ld.texinfo: Document new --exclude-modules-for-implib option. | |
974 | * pe-dll.c (exclude_list_struct): Change type member from int to | |
975 | new enumeration exclude_type. | |
976 | (pe_dll_add_excludes): Accept exclude_type instead of int param. | |
977 | (auto_export): Replace magic constants by exclude_type values and | |
978 | handle new choice EXCLUDEFORIMPLIB. | |
979 | (pe_dll_generate_implib): Accept a pointer to the link_info and | |
980 | iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open | |
981 | fresh BFDs for any found and link into import lib archive chain. | |
982 | * pe-dll.h (exclude_type): Add new enumerated type to replace magic | |
983 | constants previously used for exclude_list_struct type member. | |
984 | (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. | |
985 | * pep-dll.h (exclude_type, pe_dll_add_excludes, | |
986 | pe_dll_generate_implib): Likewise to all the above. | |
987 | * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new | |
988 | getopts long option code for new --exclude-modules-for-implib option. | |
989 | (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. | |
990 | (gld_${EMULATION_NAME}_list_options): List usage for it. | |
991 | (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated | |
992 | values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. | |
993 | (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when | |
994 | calling pe_dll_generate_implib. | |
995 | * emultempl/pep.em (options): Define new enumerated value for getopts | |
996 | long option code for new --exclude-modules-for-implib option. | |
997 | (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, | |
998 | gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): | |
999 | Again, likewise to all the above. | |
1000 | ||
81b07b16 | 1001 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
84e94c90 | 1002 | |
81b07b16 DK |
1003 | * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. |
1004 | (libnamencmp): New function. | |
1005 | (auto_export): Use it in place of strncmp when filtering libraries. | |
84e94c90 | 1006 | |
81b07b16 | 1007 | For older changes see ChangeLog-2008 |
252b5132 RH |
1008 | \f |
1009 | Local Variables: | |
1010 | mode: change-log | |
1011 | left-margin: 8 | |
1012 | fill-column: 74 | |
1013 | version-control: never | |
1014 | End: |