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