Commit | Line | Data |
---|---|---|
41327c9d NC |
1 | 2009-11-11 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * po/id.po: Updated Indonesian translation. | |
4 | ||
da2f07f1 JK |
5 | 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6 | ||
7 | * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. | |
8 | * aclocal.m4: Regenerate. | |
9 | * configure: Regenerate. | |
10 | ||
3ab904c4 NC |
11 | 2009-11-10 Nick Clifton <nickc@redhat.com> |
12 | ||
13 | PR ld/10864 | |
14 | * ld.texinfo (Entry Point): Mention that the default entry symbol | |
15 | is not 'start' on some targets. | |
16 | ||
df856bcc L |
17 | 2009-11-06 H.J. Lu <hongjiu.lu@intel.com> |
18 | ||
19 | PR ld/10912 | |
20 | * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE. | |
21 | ||
e468a046 KT |
22 | 2009-11-06 Kai Tietz <kai.tietz@onevision.com> |
23 | ||
24 | * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro. | |
25 | (gld_XXX_before_parse): Set pseudo-relocation default | |
26 | version to DEFAULT_PSEUDO_RELOC_VERSION. | |
27 | (gldXXX_handle_option): Likewise. | |
28 | ||
29 | ||
ddbb8a31 NC |
30 | 2009-11-05 Nick Clifton <nickc@redhat.com> |
31 | ||
32 | * lexsup.c: Rename --add-needed to --copy-dt-needed-entries. | |
33 | * ldlang.h (struct lang_input_statement_struct): Rename add_needed | |
34 | to add_DT_NEEDED_for_dynamic. Rename as_needed to | |
35 | add_DT_NEEDED_for_regular. | |
36 | * ldlang.c: Likewise. | |
37 | * ldlang.h: Likewise. | |
38 | * ldlang.c: Use the new variable names. | |
39 | * ldgram.y: Likewise. | |
40 | * emultempl/elf32.em: Likewise. | |
41 | * ld.texinfo: Document the renamed option. Also mention its | |
42 | affect on the resolution of dynamic symbols. | |
43 | * NEWS: Mention the changed option name. | |
44 | ||
decfa41e KT |
45 | 2009-11-04 Kai Tietz <kai.tietz@onevision.com> |
46 | ||
47 | * emulparams/arm_epoc_pe.sh: Remove ENTRY. | |
48 | * emulparams/arm_wince_pe.sh: Likewise. | |
49 | * emulparams/i386pe.sh: Likewise. | |
50 | * emulparams/i386pe_posix.sh: Likewise. | |
51 | * emulparams/mcorepe.sh: Likewise. | |
52 | * emulparams/mipspe.sh: Likewise. | |
53 | * emulparams/ppcpe.sh: Likewise. | |
54 | * emulparams/armpe.sh: Likewise. | |
55 | * emulparams/i386pep.sh: Likewise. | |
56 | * emulparams/shpe.sh: Likewise. | |
57 | Additionally cleaned up double-defined | |
58 | variables SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
59 | * emultempl/pe.em: Remove use of ENTRY. | |
60 | (pe_subsystem): New local variable. | |
61 | (gld_XXX_before_parse): Don't set default | |
62 | entry point here. | |
63 | (set_entry_point): New function to set entry | |
64 | point. | |
65 | (set_pe_subsystem): Remove code for entry point. | |
66 | (gld_XXX_after_parse): Use set_entry_point here. | |
67 | * emultempl/pep.em: Likewise. | |
68 | ||
64c1b14e NS |
69 | 2009-10-29 Nathan Sidwell <nathan@codesourcery.com> |
70 | ||
71 | * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ... | |
72 | (OTHER_READWRITE_SECTIONS): ... here. | |
73 | ||
7aee19a1 KT |
74 | 2009-10-28 Kai Tietz <kai.tietz@onevision.com> |
75 | ||
76 | * emultempl/pep.em (U): Define underscore macro. | |
77 | (init): Use for __ImageBase U macro. | |
78 | ||
7fcab871 KT |
79 | 2009-10-23 Kai Tietz <kai.tietz@onevision.com> |
80 | ||
81 | * deffile.h (def_file_export): New member its_name. | |
82 | (def_file_import): Likewise. | |
83 | (def_file_add_export): Add argument its_name. | |
84 | (def_file_add_import): Likewise. | |
85 | * deffilep.y (def_exports): Add argument its_name. | |
86 | (def_import): Likewise. | |
87 | (EQUAL): Add new token for '=='. | |
88 | (opt_equalequal_name): New rule. | |
89 | (expline): Add rule opt_equalequal_name. | |
90 | (impline): Likewise. | |
91 | (def_file_free): Free for exports and imports | |
92 | the optional member its_name. | |
93 | (def_lex): Add scan of '==' as EQUAL. | |
94 | * pe-dll.c (pe_export_sort): Sort for its_name too. | |
95 | (process_def_file_and_drectve): Adjust calls to | |
96 | def_file_add_export. | |
97 | (generate_edata): Take its_name in account. | |
98 | (make_one): Likewise. | |
99 | (pe_process_import_defs): Likewise. | |
100 | (pe_dll_generate_def_file): Add print of new '==' option. | |
101 | * ld.texinfo: Extend documentation about .def file syntax. | |
102 | * NEWS: Mention new feature. | |
103 | ||
424908eb KT |
104 | 2009-10-23 Kai Tietz <kai.tietz@onevision.com> |
105 | ||
106 | * deffilep.y (def_lex): Allow '<' and '>' characters in identifier | |
107 | strings. | |
108 | ||
07f1e47a AM |
109 | 2009-10-23 Ryan Mansfield <rmansfield@qnx.com> |
110 | ||
111 | PR ld/10489 | |
112 | * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle | |
113 | drive specifiers for DOS based filesystems in rpath-link strings. | |
114 | ||
764ed107 NC |
115 | 2009-10-19 Nick Clifton <nickc@redhat.com> |
116 | ||
117 | * Makefile.am: Remove spurious sanitization marker. | |
118 | * Makefile.in: Regenerate. | |
119 | ||
2927aaca NC |
120 | 2009-10-16 Dimitry Gorbachev <d.g.gorbachev@gmail.com> |
121 | ||
122 | * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro. | |
123 | (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option | |
124 | to exclude all symbols from automatic export. | |
125 | (gld_${EMULATION_NAME}_list_options): Describe it. | |
126 | (gld${EMULATION_NAME}_handle_option): Handle it. | |
127 | * emultempl/pep.em: Likewise to all the above. | |
128 | * pe-dll.c (pe_dll_exclude_all_symbols): New variable. | |
129 | (process_def_file_and_drectve): Use it. | |
130 | * pe-dll.h (pe_dll_exclude_all_symbols): Declare. | |
131 | * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. | |
132 | * pep-dll.h (pe_dll_exclude_all_symbols): Declare. | |
133 | * NEWS: Mention the new feature. | |
134 | * ld.texinfo: Document the new command line switch. | |
135 | ||
d05c651b AS |
136 | 2009-10-14 Andreas Schwab <schwab@linux-m68k.org> |
137 | ||
138 | * ldlex.l (yy_input): Remove second argument and return the value | |
139 | instead. | |
140 | (YY_INPUT): Adjust. | |
141 | ||
f88dc410 AM |
142 | 2009-10-14 Alan Modra <amodra@bigpond.net.au> |
143 | ||
144 | * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. | |
145 | ||
fc1ed737 AM |
146 | 2009-10-14 Ryan Mansfield <rmansfield@qnx.com> |
147 | ||
148 | * ldlang.c (load_symbols): Set whole_archive from entry when | |
149 | parsing a linker script. | |
150 | ||
ec2d9b29 AM |
151 | 2009-10-10 Alan Modra <amodra@bigpond.net.au> |
152 | ||
153 | * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes. | |
154 | * scripttempl/elf32cr16c.sc: Likewise. | |
155 | * scripttempl/elf32crx.sc: Likewise. | |
156 | * scripttempl/tic54xcoff.sc: Likewise. | |
157 | * scripttempl/aix.sc: Likewise. | |
158 | * scripttempl/avr.sc: Likewise. | |
159 | * scripttempl/elf32msp430.sc: Likewise. | |
160 | * scripttempl/elf32msp430_3.sc: Likewise. | |
161 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
162 | * scripttempl/elf_chaos.sc: Likewise. | |
163 | * scripttempl/elfi370.sc: Likewise. | |
164 | * scripttempl/nw.sc: Likewise. | |
165 | * scripttempl/psos.sc: Likewise. | |
166 | * scripttempl/armbpabi.sc: Likewise. | |
167 | * scripttempl/elf.sc: Likewise. | |
168 | * scripttempl/elf64hppa.sc: Likewise. | |
169 | * scripttempl/elfd10v.sc: Likewise. | |
170 | * scripttempl/elfd30v.sc: Likewise. | |
171 | * scripttempl/elfm68hc11.sc: Likewise. | |
172 | * scripttempl/elfm68hc12.sc: Likewise. | |
173 | * scripttempl/elfmicroblaze.sc: Likewise. | |
174 | * scripttempl/elfxtensa.sc: Likewise. | |
175 | * scripttempl/iq2000.sc: Likewise. | |
176 | * scripttempl/mep.sc: Likewise. | |
177 | * scripttempl/xstormy16.sc: Likewise. | |
178 | ||
fd68d03d AM |
179 | 2009-10-09 Alan Modra <amodra@bigpond.net.au> |
180 | ||
181 | PR ld/10749 | |
182 | * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF. | |
183 | ||
4100cea3 AM |
184 | 2009-10-08 Alan Modra <amodra@bigpond.net.au> |
185 | ||
186 | PR ld/10744 | |
187 | * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the | |
188 | first PT_LOAD header. | |
189 | * ld.texinfo: Update. | |
190 | ||
5c1a3f0f NS |
191 | 2009-10-06 Nathan Sidwell <nathan@codesourcery.com> |
192 | ||
193 | * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable | |
194 | segments do not appear after a different loadable segment. | |
195 | * ld.texinfo (PHDRS): Document order of processing segments. | |
196 | Document where PHDRS and FILEHDR may appear. | |
197 | ||
b02c4cfa AM |
198 | 2009-10-03 Alan Modra <amodra@bigpond.net.au> |
199 | ||
200 | * emultempl/ppc32elf.em (emit_stub_syms): Init to -1. | |
201 | (ppc_after_open): Set emit_stubs_syms by default when shared. | |
202 | (OPTION_NO_STUBSYMS): Define. | |
203 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
204 | PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. | |
205 | * emultempl/ppc64elf.em (emit_stub_syms): Init to -1. | |
206 | (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default. | |
207 | (OPTION_NO_STUBSYMS): Define. | |
208 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
209 | PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. | |
210 | ||
94f63f20 NC |
211 | 2009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com> |
212 | ||
213 | * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75 | |
214 | (rts). | |
215 | ||
c7927a3c NC |
216 | 2009-09-29 DJ Delorie <dj@redhat.com> |
217 | ||
218 | * Makefile.am: Add rules to build RX emulation. | |
219 | * configure.tgt: Likewise. | |
220 | * NEWS: Mention support for RX architecture. | |
221 | * Makefile.in: Regenerate. | |
222 | * emulparams/elf32rx.sh: New file. | |
223 | * emultempl/rxelf.em: New file. | |
224 | ||
cafed8af AM |
225 | 2009-09-29 Alan Modra <amodra@bigpond.net.au> |
226 | ||
227 | * ldlang.c (lang_size_sections_1): Allow scripts to specify a | |
228 | non-zero vma even when relocatable. | |
229 | ||
df381c72 AM |
230 | 2009-09-28 Alan Modra <amodra@bigpond.net.au> |
231 | ||
232 | * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur. | |
233 | * scripttempl/elf32cr16c.sc: Likewise. | |
234 | * scripttempl/elf32crx.sc: Likewise. | |
5ccff776 | 235 | * scripttempl/tic54xcoff.sc: Likewise. |
df381c72 AM |
236 | * scripttempl/aix.sc: Delete ${RELOCATING-0}. |
237 | * scripttempl/avr.sc: Likewise. | |
238 | * scripttempl/elf32msp430.sc: Likewise. | |
239 | * scripttempl/elf32msp430_3.sc: Likewise. | |
240 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
241 | * scripttempl/elf_chaos.sc: Likewise. | |
242 | * scripttempl/elfi370.sc: Likewise. | |
243 | * scripttempl/nw.sc: Likewise. | |
244 | * scripttempl/psos.sc: Likewise. | |
245 | * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. | |
246 | * scripttempl/elf.sc: Likewise. | |
247 | * scripttempl/elf64hppa.sc: Likewise. | |
248 | * scripttempl/elfd10v.sc: Likewise. | |
249 | * scripttempl/elfd30v.sc: Likewise. | |
250 | * scripttempl/elfm68hc11.sc: Likewise. | |
251 | * scripttempl/elfm68hc12.sc: Likewise. | |
252 | * scripttempl/elfmicroblaze.sc: Likewise. | |
253 | * scripttempl/elfxtensa.sc: Likewise. | |
254 | * scripttempl/iq2000.sc: Likewise. | |
255 | * scripttempl/mep.sc: Likewise. | |
256 | * scripttempl/xstormy16.sc: Likewise. | |
257 | ||
eceda120 CF |
258 | 2009-09-27 Christopher Faylor <me+cygwin@cgf.cx> |
259 | ||
fd68d03d | 260 | PR ld/10634 |
eceda120 CF |
261 | * ldlang.c (lang_size_sections_1): Always force output vma to zero for |
262 | relocatable sections. | |
263 | (lang_size_sections_1): Revert previous COFF-only accommodation for | |
264 | relocatable sections. | |
265 | ||
21d799b5 NC |
266 | 2009-09-25 Martin Thuresson <martint@google.com> |
267 | ||
e0c483d6 | 268 | Update sources to make arm targets compile cleanly with |
21d799b5 NC |
269 | -Wc++-compat: |
270 | * emultempl/armelf.em: Add casts. | |
271 | ||
7ee314fa AM |
272 | 2009-09-23 Matt Rice <ratmice@gmail.com> |
273 | ||
274 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, | |
275 | --depaudit, and -P options. | |
276 | (gld${EULATION_NAME}_handle_options): Ditto. | |
277 | (gld${EULATION_NAME}_list_options): Ditto. | |
278 | (gld${EMULATION_NAME}_append_to_separated_string): New function for | |
279 | handling rpath-like colon separated strings. | |
280 | (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit | |
281 | libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. | |
282 | * ld.texinfo: Document new options. | |
283 | ||
8a00d392 NC |
284 | 2009-09-23 Nick Clifton <nickc@redhat.com> |
285 | ||
286 | * po/vi.po: Updated Vietnamese translation. | |
287 | ||
7807ee0c AM |
288 | 2009-09-22 Alan Modra <amodra@bigpond.net.au> |
289 | ||
290 | * scripttempl/a29k.sc: Delete. | |
291 | * scripttempl/ebmon29k.sc: Delete. | |
292 | * scripttempl/m68klynx.sc: Delete. | |
293 | * scripttempl/sa29200.sc: Delete. | |
294 | * scripttempl/sparclynx.sc: Delete. | |
295 | ||
a7f2871e AM |
296 | 2009-09-21 Alan Modra <amodra@bigpond.net.au> |
297 | ||
298 | * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. | |
299 | (ppc_before_allocation): Pass to ppc_elf_tls_setup. | |
300 | (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in | |
301 | terms of previous option. | |
302 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add | |
303 | --no-tls-get-addr-optimize. | |
304 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
305 | * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. | |
306 | (ppc_before_allocation): Pass to ppc64_elf_tls_setup. | |
307 | (OPTION_NO_TLS_GET_ADDR_OPT): Define. | |
308 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add | |
309 | --no-tls-get-addr-optimize. | |
310 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
311 | ||
ca58b19f NC |
312 | 2009-09-18 Nick Clifton <nickc@redhat.com> |
313 | ||
314 | * po/es.po: Updated Spanish translation. | |
315 | ||
97b11f40 AM |
316 | 2009-09-13 Alan Modra <amodra@bigpond.net.au> |
317 | ||
cafed8af | 318 | PR ld/6766 |
97b11f40 AM |
319 | * lexsup.c (parse_args <-e>): Revert 2009-03-18 change. |
320 | * ldemul.c (after_parse_default): Add entry symbol as undef. | |
321 | * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default. | |
322 | * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. | |
323 | * emultempl/crxelf.em (crxelf_after_parse): Likewise. | |
324 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
325 | * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. | |
326 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call | |
327 | after_parse_default and delete now duplicate code. | |
328 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. | |
329 | * scripttempl/elf32cr16.sc: No need to make entry extern. | |
330 | * scripttempl/elf32cr16c.sc: Likewise. | |
331 | * scripttempl/elf32crx.sc: Likewise. | |
332 | * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link. | |
333 | ||
1e9cc1c2 NC |
334 | 2009-09-11 Nick Clifton <nickc@redhat.com> |
335 | ||
336 | * po/ld.pot: Updated by the Translation project. | |
337 | * po/fi.po: Updated Finnish translation. | |
338 | ||
339 | 2009-09-11 Martin Thuresson <martint@google.com> | |
340 | ||
341 | Updated sources to compile cleanly with -Wc++-compat: | |
342 | * ld.h (enum endian_enum,enum symbolic_enum,enum | |
343 | dynamic_list_enum): Move to top level. | |
344 | * ldcref.c: Add casts. | |
345 | * ldctor.c: Add casts. | |
346 | * ldexp.c | |
347 | * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. | |
348 | * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead | |
349 | of integer. | |
350 | * ldlang.h (enum statement_enum): Move to top level. | |
351 | * ldmain.c: Add casts. | |
352 | * ldwrite.c: Add casts. | |
353 | * lexsup.c: Add casts. (enum control_enum): Move to top level. | |
354 | * mri.c: Add casts. (mri_draw_tree): Use enum name instead of | |
355 | integer. | |
356 | ||
596d6d91 AM |
357 | 2009-09-09 Alan Modra <amodra@bigpond.net.au> |
358 | ||
359 | * scripttempl/aix.sc: Only provide ENTRY on final link. | |
360 | * scripttempl/alpha.sc: Likewise. | |
361 | * scripttempl/armcoff.sc: Likewise. | |
362 | * scripttempl/crisaout.sc: Likewise. | |
363 | * scripttempl/delta68.sc: Likewise. | |
364 | * scripttempl/ebmon29k.sc: Likewise. | |
365 | * scripttempl/elf32xc16x.sc: Likewise. | |
366 | * scripttempl/elf32xc16xl.sc: Likewise. | |
367 | * scripttempl/elfmicroblaze.sc: Likewise. | |
368 | * scripttempl/epocpe.sc: Likewise. | |
369 | * scripttempl/h8300.sc: Likewise. | |
370 | * scripttempl/h8300h.sc: Likewise. | |
371 | * scripttempl/h8300hn.sc: Likewise. | |
372 | * scripttempl/h8300s.sc: Likewise. | |
373 | * scripttempl/h8300sn.sc: Likewise. | |
374 | * scripttempl/h8300sx.sc: Likewise. | |
375 | * scripttempl/h8300sxn.sc: Likewise. | |
376 | * scripttempl/hppaelf.sc: Likewise. | |
377 | * scripttempl/i386beos.sc: Likewise. | |
378 | * scripttempl/i386coff.sc: Likewise. | |
379 | * scripttempl/i386go32.sc: Likewise. | |
380 | * scripttempl/m68kaux.sc: Likewise. | |
381 | * scripttempl/m68klynx.sc: Likewise. | |
382 | * scripttempl/m88kbcs.sc: Likewise. | |
383 | * scripttempl/maxqcoff.sc: Likewise. | |
384 | * scripttempl/mcorepe.sc: Likewise. | |
385 | * scripttempl/mips.sc: Likewise. | |
386 | * scripttempl/ppcpe.sc: Likewise. | |
387 | * scripttempl/sa29200.sc: Likewise. | |
388 | * scripttempl/sparccoff.sc: Likewise. | |
389 | * scripttempl/sparclynx.sc: Likewise. | |
390 | * scripttempl/tic4xcoff.sc: Likewise. | |
391 | * scripttempl/tic54xcoff.sc: Likewise. | |
392 | * scripttempl/tic80coff.sc: Likewise. | |
393 | * scripttempl/z8000.sc: Likewise. | |
394 | ||
23f938f1 TG |
395 | 2009-09-07 Tristan Gingold <gingold@adacore.com> |
396 | ||
397 | * po/ld.pot: Regenerate. | |
398 | ||
96d56e9f NC |
399 | 2009-09-05 Martin Thuresson <martin@mtme.org> |
400 | ||
401 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols, | |
402 | gld${EMULATION_NAME}_try_needed): Rename variable class to | |
403 | link_class. | |
404 | ||
81c23f82 TG |
405 | 2009-09-04 Tristan Gingold <gingold@adacore.com> |
406 | ||
407 | * NEWS: Add marker for 2.20. | |
408 | ||
4c4fb5da AM |
409 | 2009-09-04 Alan Modra <amodra@bigpond.net.au> |
410 | ||
411 | * scripttempl/elf.sc (.text): Add cold text sections. | |
412 | ||
7dd8f318 JZ |
413 | 2009-09-04 Jie Zhang <jie.zhang@analog.com> |
414 | ||
415 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text | |
416 | and .l2.data. | |
417 | ||
032f3e01 DK |
418 | 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> |
419 | ||
420 | * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch | |
421 | new GCC hot/cold/unlikely partitions. | |
422 | * scripttempl/pep.sc: Likewise. | |
423 | * scripttempl/epocpe.sc: Likewise. | |
424 | * scripttempl/mcorepe.sc: Likewise. | |
425 | * scripttempl/ppcpe.sc: Likewise. | |
426 | ||
7bb7d81f RW |
427 | 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
428 | ||
429 | * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct | |
430 | source file name for generated files which may be in $(srcdir). | |
431 | * Makefile.in: Regenerate. | |
432 | ||
43123e98 L |
433 | 2009-09-01 H.J. Lu <hongjiu.lu@intel.com> |
434 | ||
435 | * ldver.c (ldversion): Change to "Copyright 2009". | |
436 | ||
8d17e044 JZ |
437 | 2009-09-01 Jie Zhang <jie.zhang@analog.com> |
438 | ||
439 | * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, | |
440 | _stack and __bss_start. | |
441 | * emulparams/bfin.sh (ENTRY): Remove. | |
442 | ||
8be573a7 AM |
443 | 2009-08-30 Alan Modra <amodra@bigpond.net.au> |
444 | ||
445 | PR ld/10569 | |
446 | * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. | |
447 | (fold_name <COMMONPAGESIZE>): Similarly. | |
448 | * ldlang.c (output_target): Make global. | |
449 | * ldlang.h (output_target): Declare. | |
450 | * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. | |
451 | Similarly for config.commonpagesize. | |
452 | * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize | |
453 | and bfd_emul_set_commonpagesize. | |
454 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call | |
455 | bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here. | |
456 | ||
d3ce72d0 NC |
457 | 2009-08-29 Martin Thuresson <martin@mtme.org> |
458 | ||
459 | * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) | |
460 | (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new | |
461 | to new_e. | |
462 | * ldfile.c (ldfile_add_library_path): Rename variable new to | |
463 | new_dirs. (ldfile_add_arch): Rename variable new to new_arch. | |
464 | * ldlang.c (new_statement, lang_final, lang_add_wild) | |
465 | (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) | |
466 | (lang_add_insert): Rename variable new to new_stmt. (new_afile): | |
467 | Added missing cast. (lang_memory_region_lookup): Rename variable | |
468 | new to new_region. (init_os): Rename variable new to | |
469 | new_userdata. (lang_add_section): Rename variable new to | |
470 | new_section. (ldlang_add_undef): Rename variable new to | |
471 | new_undef. (realsymbol): Rename variable new to new_name. | |
472 | ||
e9e0a58e NC |
473 | 2009-08-26 Nick Clifton <nickc@redhat.com> |
474 | ||
475 | PR ld/10555 | |
476 | * emultempl/elf32.em (_after_open): Do not create a | |
477 | .note.gnu-build-id section if there are no input files. | |
478 | ||
43e56c34 NC |
479 | 2009-08-24 Nick Clifton <nickc@redhat.com> |
480 | ||
481 | * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with | |
482 | .gnu.lto_ prefix. | |
483 | * scripttempl/armbpabi.sc: Likewise. | |
484 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
485 | * scripttempl/elf64hppa.sc: Likewise. | |
486 | * scripttempl/mep.sc: Likewise. | |
487 | ||
a15af8e2 RW |
488 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
489 | ||
8a0e2760 RW |
490 | * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep |
491 | rules. | |
492 | (eelf32_spu.o): Add dependency tracking. | |
493 | * Makefile.in: Regenerate. | |
494 | ||
a15af8e2 RW |
495 | * Makefile.am (am__skiplex, am__skipyacc): New. |
496 | * Makefile.in: Regenerate. | |
497 | ||
81ecdfbb RW |
498 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
499 | ||
14ec8efd RW |
500 | * Makefile.am (bin_PROGRAMS): Renamed from ... |
501 | (noinst_PROGRAMS): ... this. | |
502 | (transform): Override, including the renaming of ld-new to ld. | |
503 | (install-exec-local): Installation of ld in $(bindir) not needed | |
504 | here any more. | |
505 | (AM_CPPFLAGS): Renamed from ... | |
506 | (INCLUDES): ... this. | |
507 | (MAINTAINERCLEANFILES): Add ld.1. | |
508 | * Makefile.in: Regenerate. | |
509 | ||
64ac50ac RW |
510 | * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add |
511 | no-texinfo.tex, no-dist, foreign. | |
512 | (TEXINFO_TEX): New variable. | |
513 | (install-data-local): Removed, not needed any more. | |
514 | (all): Dependencies upon info and ld.1 not needed any more. | |
515 | (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed. | |
516 | (mkdep generated section): Removed. | |
517 | (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to | |
518 | use automake dependency tracking mechanism. | |
519 | (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and | |
520 | $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their | |
521 | dependencies are tracked too. | |
522 | (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they | |
523 | are built early. | |
524 | * configure.in: Use AM_MAINTAINER_MODE. | |
525 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
526 | ||
af542c2e RW |
527 | * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) |
528 | (install-pdf-recursive, html__strip_dir, install-html) | |
529 | (install-html-am, install-html-recursive): Remove. | |
530 | * Makefile.in: Regenerate. | |
531 | ||
81ecdfbb RW |
532 | * Makefile.in: Regenerate. |
533 | * aclocal.m4: Likewise. | |
534 | * config.in: Likewise. | |
535 | * configure: Likewise. | |
536 | ||
032b94c5 NC |
537 | 2009-08-21 Richard Guenther <rguenther@suse.de> |
538 | ||
539 | * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. | |
540 | ||
02688209 TG |
541 | 2009-08-12 Tristan Gingold <gingold@adacore.com> |
542 | ||
543 | * ld.h (fat_user_section_struct): Add map_symbol_def_count field. | |
544 | * ldlang.c (hash_entry_addr_cmp): New function. | |
545 | (print_all_symbols): Sort the symbols by address before printing them. | |
546 | ||
eaeb0a9d AM |
547 | 2009-08-10 Alan Modra <amodra@bigpond.net.au> |
548 | ||
549 | PR 10474 | |
550 | * ldemul.c (after_allocation_default): Run lang_relax_sections. | |
551 | * ldlang.h (lang_relax_sections): Declare. | |
552 | * ldlang.c (relax_sections): Delete. | |
553 | (lang_relax_sections): New function. | |
554 | (lang_process): Don't relax directly from here. | |
555 | * emultempl/alphaelf.em (alpha_finish): Call finish_default. | |
556 | * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body.. | |
557 | (gld${EMULATION_NAME}_finish): ..to here. Move existing code.. | |
558 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
559 | (LDEMUL_AFTER_ALLOCATION): Update. | |
560 | * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete. | |
561 | (avr_elf_after_allocation): New function. | |
562 | (LDEMUL_AFTER_ALLOCATION): Define. | |
563 | * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call | |
564 | lang_relax_sections. | |
565 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
566 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
567 | (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update. | |
568 | * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
569 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
570 | (LDEMUL_FINISH): Delete. | |
571 | (LDEMUL_AFTER_ALLOCATION): Define. | |
572 | * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
573 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
574 | (LDEMUL_FINISH): Delete. | |
575 | (LDEMUL_AFTER_ALLOCATION): Define. | |
576 | * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move.. | |
577 | (m68hc11elf_after_allocation): ..to here. New function. | |
578 | (LDEMUL_FINISH): Delete. | |
579 | (LDEMUL_AFTER_ALLOCATION): Define. | |
580 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
581 | gld${EMULATION_NAME}_after_allocation. | |
582 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call | |
583 | gld${EMULATION_NAME}_after_allocation. | |
584 | * emultempl/mmo.em (mmo_finish): Delete. Move body.. | |
585 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
586 | (LDEMUL_FINISH): Define. | |
587 | * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp. | |
588 | (gld${EMULATION_NAME}_finish): Move code sizing sections.. | |
589 | (gld${EMULATION_NAME}_after_allocation): ..to here. | |
590 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
591 | Call gld${EMULATION_NAME}_after_allocation. | |
592 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete | |
593 | bfd_elf_discard_info and map_segments call. | |
594 | ||
7ba29e2a NC |
595 | 2009-08-06 Michael Eager <eager@eagercon.com> |
596 | ||
7ee314fa | 597 | * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to |
7ba29e2a NC |
598 | ALL_EMULATIONS, targets. |
599 | * Makefile.in: Regenerate. | |
600 | * configure.tgt: Add microblaze*-linux*, microblaze* targets. | |
601 | * emulparams/elf32mb_linux.sh: New. | |
602 | * emulparams/elf32microblaze.sh. New. | |
7ee314fa | 603 | * scripttempl/elfmicroblaze.sc: New. |
7ba29e2a | 604 | |
9cc305ec TS |
605 | 2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> |
606 | ||
607 | * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup | |
608 | section and __fixup_start symbol. | |
609 | * emultempl/spuelf.em (params): Initialize emit_fixups member. | |
610 | (spu_before_allocation): Call spu_elf_size_sections. | |
611 | (OPTION_SPU_EMIT_FIXUPS): Define. | |
612 | (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. | |
613 | (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. | |
614 | * ld.texinfo (--emit-fixups): Document. | |
615 | ||
07088e95 AM |
616 | 2009-08-04 Alan Modra <amodra@bigpond.net.au> |
617 | ||
cafed8af | 618 | PR 10474 |
07088e95 AM |
619 | * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, |
620 | not size, after lang_reset_memory_regions. | |
621 | ||
8dfab6dd AM |
622 | 2009-07-30 Alan Modra <amodra@bigpond.net.au> |
623 | ||
624 | * emulparams/elf32ppc.sh (PLT): Don't include ".iplt". | |
625 | * emulparams/elf_i386.sh (IREL_IN_PLT): Define. | |
626 | * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. | |
627 | * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections | |
628 | when !IREL_IN_PLT. | |
629 | ||
18c32df5 HPN |
630 | 2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> |
631 | ||
632 | * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to | |
633 | the new $RELOCATEABLE_OUTPUT_FORMAT, if set. | |
634 | (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. | |
635 | (ENTRY): Don't emit for relocateable links. | |
636 | (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. | |
637 | * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to | |
638 | elf64-mmix. | |
639 | * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't | |
640 | provide "Main" or set "_start.", for relocateable links. | |
641 | ||
c38fbd5c NC |
642 | 2009-07-27 Nick Clifton <nickc@redhat.com> |
643 | ||
644 | * (po/fi.po): Updated Finnish translation. | |
645 | ||
8a9036a4 L |
646 | 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> |
647 | ||
648 | * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 | |
649 | is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. | |
650 | (targ_extra_emuls): Likewise. | |
651 | ||
652 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and | |
653 | eelf_l1om_fbsd.o | |
654 | (eelf_l1om.c): New. | |
655 | (eelf_l1om_fbsd.c): Likewise. | |
656 | * Makefile.in: Regenerated. | |
657 | ||
658 | * emulparams/elf_l1om.sh: New. | |
659 | * emulparams/elf_l1om_fbsd.sh: Likewise. | |
660 | ||
3e7a7d11 NC |
661 | 2009-07-23 Ulrich Drepper <drepper@redhat.com> |
662 | ||
663 | * NEWS: Mention the linker's support for symbols with a binding of | |
664 | STB_GNU_UNIQUE. | |
665 | ||
249b2a84 L |
666 | 2009-07-22 H.J. Lu <hongjiu.lu@intel.com> |
667 | ||
668 | PR ld/10429 | |
669 | * ldlang.c (insert_os_after): Tie assignments to non-alloc | |
670 | output sections if there is no-input section. | |
671 | ||
0fa4d7cf AM |
672 | 2009-07-11 Alan Modra <amodra@bigpond.net.au> |
673 | ||
674 | * ldlang.c (insert_os_after): Don't tie assignments to non-alloc | |
675 | output sections. | |
676 | ||
4135c73b AM |
677 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
678 | ||
679 | * emultempl/ppc32elf.em (ppc_before_allocation): Turn on | |
680 | linker relaxation if it might be necessary. | |
681 | ||
e054468f AM |
682 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
683 | ||
684 | * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. | |
685 | ||
07d8eb55 NC |
686 | 2009-07-06 Matthias Klose <doko@ubuntu.com> |
687 | ||
249b2a84 | 688 | * ld.texinfo: Fix typo. |
07d8eb55 | 689 | |
27505b5d TG |
690 | 2009-07-03 Tristan Gingold <gingold@adacore.com> |
691 | ||
692 | * scripttempl/pep.sc: Put .eh_frame in its own section. | |
693 | * scripttempl/pe.sc: Ditto. | |
7ee314fa | 694 | |
a626fe20 KT |
695 | 2009-06-26 Kai Tietz <kai.tietz@onevision.com> |
696 | ||
697 | * scripttempl/pe.sc (.debug_pubtypes): Added section rule. | |
698 | * scripttempl/pep.sc: Likewise. | |
699 | ||
d64703c6 TG |
700 | 2009-06-25 Tristan Gingold <gingold@adacore.com> |
701 | ||
702 | * ldlang.c (print_input_section): Add is_discarded parameter. Adjust | |
703 | prototype. | |
704 | (lang_map): Print the size of discarded sections. | |
705 | (print_statement): Adjust call to print_input_section. | |
706 | ||
361dff73 DK |
707 | 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
708 | ||
32425da9 | 709 | Merge cegcc and mingw32ce target name changes from CeGCC project: |
361dff73 | 710 | |
32425da9 | 711 | 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> |
361dff73 DK |
712 | |
713 | * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to | |
714 | ${tooldir}/lib/w32api. | |
715 | ||
32425da9 | 716 | 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
717 | |
718 | * configure.tgt: Add arm*-*-cegcc* target. | |
719 | ||
32425da9 | 720 | 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
721 | |
722 | * configure.tgt: Add arm-*-mingw32ce* target. | |
723 | ||
f3711133 PB |
724 | 2009-06-10 Philip Blundell <philb@gnu.org> |
725 | ||
726 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash | |
727 | if section has no ELF data. | |
728 | ||
2a81c24a L |
729 | 2009-06-06 H.J. Lu <hongjiu.lu@intel.com> |
730 | ||
731 | * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. | |
732 | ||
fc1e8789 L |
733 | 2009-06-05 H.J. Lu <hongjiu.lu@intel.com> |
734 | ||
735 | * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. | |
736 | ||
67a648f1 AM |
737 | 2009-06-04 Alan Modra <amodra@bigpond.net.au> |
738 | ||
739 | * dep-in.sed: Don't use \n in replacement part of s command. | |
740 | * Makefile.am (DEP1): LC_ALL for uniq. | |
741 | * Makefile.in: Regenerate. | |
742 | ||
3aa14d16 L |
743 | 2009-06-01 H.J. Lu <hongjiu.lu@intel.com> |
744 | ||
745 | * scripttempl/elf.sc (PLT): Add "*(.iplt)". | |
746 | (GOT): Add "*(.igot.plt)a" and "*(.igot)". | |
747 | (GOTPLT): Add "*(.igot)". | |
748 | (__rel_iplt_start): New. | |
749 | (__rel_iplt_end): Likewise. | |
750 | (__rela_iplt_start): Likewise. | |
751 | (__rela_iplt_end): Likewise. | |
752 | ||
05056a8d DK |
753 | 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> |
754 | ||
755 | * deffilep.y (%union): Add new string-type semantic value 'digits'. | |
756 | (%token): Remove NUMBER as token, add DIGITS. | |
757 | (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. | |
758 | (ALIGNCOMM): Parse an anylang_id instead of a plain ID. | |
759 | (anylang_id): New production. | |
760 | (opt_digits): Likewise. | |
761 | (opt_id): Likewise. | |
762 | (NUMBER): Likewise. | |
763 | (def_lex): Return strings of digits in raw string form as DIGITS | |
764 | token, instead of converting to numeric integer type. | |
765 | ||
c8a1f254 NS |
766 | 2009-05-26 Nathan Sidwell <nathan@codesourcery.com> |
767 | ||
768 | * ldmain.c (main): Don't reject --relax -r. | |
769 | * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing | |
770 | partial links. | |
771 | ||
f12e7348 NC |
772 | 2009-05-26 Nick Clifton <nickc@redhat.com> |
773 | ||
774 | * po/id.po: Updated Indonesian translation. | |
775 | * po/ld.pot: Updated template file. | |
776 | ||
00f3247a AM |
777 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
778 | ||
779 | * dep-in.sed: Output one filename per line with all lines having | |
780 | continuation backslash. Prefix first line with "A", following | |
781 | lines with "B". | |
782 | * Makefile.am (DEP): Don't use dep.sed here. | |
783 | (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, | |
784 | sort and uniq. | |
785 | * Makefile.in: Regenerate. | |
786 | ||
e50d6125 AM |
787 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
788 | ||
789 | * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections. | |
790 | ||
48229727 JB |
791 | 2009-05-22 Julian Brown <julian@codesourcery.com> |
792 | ||
793 | * emultempl/armelf.em (fix_cortex_a8): New. | |
794 | (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. | |
795 | (arm_elf_create_output_section_statements): Add fix_cortex_a8 to | |
796 | bfd_elf32_arm_set_target_relocs. | |
797 | (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. | |
798 | (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. | |
799 | (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. | |
800 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. | |
801 | * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. | |
802 | ||
ec6d26be NS |
803 | 2009-05-22 Nathan Sidwell <nathan@codesourcery.com> |
804 | ||
805 | * ldlang.c (lang_check_section_addresses): Ignore non-loadable | |
806 | sections when checking for overlap. Clarify error message | |
807 | concerns load address. | |
808 | ||
2b3decb5 AM |
809 | 2009-05-22 Alan Modra <amodra@bigpond.net.au> |
810 | ||
811 | * Makefile.am: Run "make dep-am". | |
812 | * Makefile.in: Regenerate. | |
813 | ||
c1711530 DK |
814 | 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> |
815 | ||
816 | * NEWS: Mention new feature. | |
817 | * deffile.h (def_file_aligncomm): Add new struct definition. | |
818 | (def_file): Add new def_file_aligncomm member. | |
819 | * deffilep.y (%token): Add new ALIGNCOMM token. | |
820 | (command): Add production rule for ALIGNCOMM. | |
821 | (def_file_free): Free any chained def_file_aligncomm structs. | |
822 | (diropts[]): Add entry for '-aligncomm' .drectve command. | |
823 | (def_aligncomm): New grammar function. | |
824 | * ld.texinfo: Document new feature. | |
825 | * pe-dll.c (process_def_file): Rename from this ... | |
826 | (process_def_file_and_drectve): ... to this, updating all callers, | |
827 | and process any aligncomms chained to the def file after scanning | |
828 | all .drectve sections. | |
829 | (generate_edata): Updated to match. | |
830 | (pe_dll_build_sections): Likewise. | |
831 | ||
b982bd05 | 832 | 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
177b81d6 DK |
833 | |
834 | * pe-dll.c (process_def_file): Do not create empty export table. | |
835 | ||
d127ecce AM |
836 | 2009-05-15 Alan Modra <amodra@bigpond.net.au> |
837 | ||
838 | * ldlang.c (lang_output_section_statement_lookup): Add function | |
839 | comment. Make "name" non-const. Ensure duplicate entries use | |
840 | the same string, allowing simple comparison in hash bucket loop. | |
841 | Tweak constraint check. | |
842 | (next_matching_output_section_statement): New function. | |
843 | * ldlang.h (lang_output_section_statement_lookup): Update. | |
844 | (next_matching_output_section_statement): Declare. | |
845 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
846 | combine orphan sections when input sections flags differ in | |
847 | alloc or load. | |
848 | * emultempl/pe.em: Formatting throughout. | |
849 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
850 | * emultempl/pep.em: Formatting throughout. | |
851 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
852 | ||
cdc83fba UW |
853 | 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
854 | ||
855 | * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use | |
856 | compact stubs with software i-cache. | |
857 | ||
bbb0fc04 AM |
858 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
859 | ||
860 | * emultempl/spuelf.em (spu_before_allocation): Call | |
861 | spu_elf_place_overlay_data. | |
862 | ||
011aa75f AM |
863 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
864 | ||
865 | * ldlang.c (lang_insert_orphan): Add __start_<section> symbol | |
866 | assignment inside output section statement. Ensure only one | |
867 | set of symbols per output section. | |
868 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non- | |
869 | dollar sections before dollar sections. Correct add_child | |
870 | list insertion. | |
871 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
872 | ||
2468f9c9 PB |
873 | 2009-05-05 Paul Brook <paul@codesourcery.com> |
874 | ||
875 | * emultempl/armelf.em (compare_output_sec_vma): New function. | |
876 | (gld${EMULATION_NAME}_finish): Add exidx munging code. | |
877 | ||
84f1b567 NC |
878 | 2009-05-05 Anatoly Sokolov <aesok@post.ru> |
879 | ||
880 | * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. | |
881 | * emulparams/avr1.sh (DATA_ORIGIN): Add. | |
882 | * emulparams/avr2.sh (DATA_ORIGIN): Add. | |
883 | * emulparams/avr25.sh (DATA_ORIGIN): Add. | |
884 | * emulparams/avr3.sh (DATA_ORIGIN): Add. | |
885 | * emulparams/avr31.sh (DATA_ORIGIN): Add. | |
886 | * emulparams/avr35.sh (DATA_ORIGIN): Add. | |
887 | * emulparams/avr4.sh (DATA_ORIGIN): Add. | |
888 | * emulparams/avr5.sh (DATA_ORIGIN): Add. | |
889 | * emulparams/avr51.sh (DATA_ORIGIN): Add. | |
890 | (DATA_LENGTH): Update. | |
891 | * emulparams/avr6.sh (DATA_ORIGIN): Add. | |
892 | (DATA_LENGTH): Update. | |
893 | ||
09e2aba4 DK |
894 | 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> |
895 | ||
896 | * NEWS: Mention new feature. | |
897 | * ld.texinfo (--version-script): Document extent of PE support. | |
898 | (WIN32): Mention --version-script. Extend auto-export description. | |
899 | * pe-dll.c (process_def_file): Use version script info to filter | |
900 | symbols from auto-export. | |
901 | * testsuite/ld-pe/vers-script-1.d: New file. | |
902 | * testsuite/ld-pe/vers-script-2.d: New file. | |
903 | * testsuite/ld-pe/vers-script-3.d: New file. | |
904 | * testsuite/ld-pe/vers-script-4.d: New file. | |
905 | * testsuite/ld-pe/vers-script-1.ver: New file. | |
906 | * testsuite/ld-pe/vers-script-2.ver: New file. | |
907 | * testsuite/ld-pe/vers-script-3.ver: New file. | |
908 | * testsuite/ld-pe/vers-script-4.ver: New file. | |
909 | * testsuite/ld-pe/vers-script-dll.c: New file. | |
910 | * testsuite/ld-pe/vers-script.exp: New test script. | |
911 | ||
1f7f5cbe NS |
912 | 2009-05-01 Nathan Sidwell <nathan@codesourcery.com> |
913 | ||
914 | * emulparams/vxworks.sh (TEXT_START_ADDR): Override. | |
915 | ||
d8045f23 NC |
916 | 2009-04-30 Nick Clifton <nickc@redhat.com> |
917 | ||
918 | * NEWS: Mention support for IFUNC symbols. | |
919 | ||
efaf18f3 AG |
920 | 2009-04-29 Anthony Green <green@moxielogic.com> |
921 | ||
922 | * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack | |
923 | position out to accommodate larger programs. | |
924 | ||
267e2722 CD |
925 | 2009-04-29 Chris Demetriou <cgd@google.com> |
926 | ||
927 | * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. | |
928 | (ld_options): Likewise. | |
929 | (parse_args): Likewise. | |
930 | * ld.texinfo: Document --no-export-dynamic. | |
931 | * NEWS: Mention --no-export-dynamic. | |
932 | ||
8e58566f AM |
933 | 2009-04-29 Alan Modra <amodra@bigpond.net.au> |
934 | ||
935 | * deffilep.y (STACKSIZE_K): Rename from STACKSIZE. | |
936 | ||
f50230ae AM |
937 | 2009-04-25 Alan Modra <amodra@bigpond.net.au> |
938 | ||
cafed8af | 939 | PR 10061 |
f50230ae AM |
940 | * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT |
941 | param. | |
942 | ||
3e6b1042 DJ |
943 | 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> |
944 | ||
945 | * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) | |
946 | (arm_elf_set_bfd_for_interworking): Delete. | |
947 | (arm_elf_before_allocation): Do not set the interworking BFD. | |
948 | Move allocation inside not-dynamic block. | |
949 | (arm_elf_create_output_section_statements): Create glue sections | |
950 | and set the interworking BFD here. | |
951 | (LDEMUL_AFTER_OPEN): Delete. | |
952 | ||
3023e3f6 RS |
953 | 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
954 | ||
955 | * ldlang.c (lang_one_common): Use bfd_define_common_symbol. | |
956 | ||
20135e4c NC |
957 | 2009-04-15 Anthony Green <green@moxielogic.com> |
958 | ||
959 | * configure.tgt: Add moxie support. | |
960 | * Makefile.am: Add moxie files. | |
961 | * Makefile.in: Rebuilt. | |
962 | * emulparams/elf32moxie.sh: New file. | |
963 | * scripttempl/moxie.sc: New file. | |
964 | ||
39e65143 KH |
965 | 2009-04-15 Kazu Hirata <kazu@codesourcery.com> |
966 | ||
967 | * ldlang.c: Do not include limits.h. | |
968 | ||
c38b10fa AM |
969 | 2009-04-14 Alan Modra <amodra@bigpond.net.au> |
970 | ||
971 | PR ld/10047 | |
972 | * ldfile.c (find_scripts_dir): Use make_relative_prefix to find | |
973 | ldscripts in build tree. Don't repeat search for ../lib/ldscripts. | |
974 | ||
8c3e16f4 L |
975 | 2009-04-13 H.J. Lu <hongjiu.lu@intel.com> |
976 | ||
977 | * ldfile.c (ldfile_find_command_file): Revert the last change. | |
978 | ||
6dc6e834 L |
979 | 2009-04-11 H.J. Lu <hongjiu.lu@intel.com> |
980 | ||
981 | PR ld/10047 | |
982 | * ldfile.c (ldfile_find_command_file): First try raw name. | |
983 | ||
0c71d759 NC |
984 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
985 | ||
986 | PR 9824 | |
987 | * ld.texinfo (Output Section Constraint): New node. Documents the | |
988 | ONLY_IF_RO and ONLY_IF_RW constraints. | |
989 | (Symbolic Constants): New node. Documents the CONSTANT operator. | |
990 | ||
fc15a272 AM |
991 | 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> |
992 | ||
993 | * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place | |
994 | of fork/execvp. | |
995 | ||
a0c402a5 L |
996 | 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> |
997 | ||
998 | * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. | |
999 | (ld_options): Likewise. | |
1000 | (parse_args): Likewise. | |
1001 | ||
1002 | * ld.texinfo: Document --warn-alternate-em. | |
1003 | ||
1004 | * NEWS: Mention --warn-alternate-em. | |
1005 | ||
4d28413b DD |
1006 | 2009-04-07 DJ Delorie <dj@redhat.com> |
1007 | ||
1008 | * emulparams/elf32mep.sh: Change default endian to little. | |
1009 | ||
6ce340f1 NC |
1010 | 2009-04-07 Nick Clifton <nickc@redhat.com> |
1011 | ||
1012 | * ld.texinfo (Output Section Address): Note that specifying an | |
1013 | address for an output section will only change the location | |
1014 | counter if the output section is used. | |
1015 | ||
32252ac1 KH |
1016 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
1017 | ||
1018 | * ldfile.c (ldfile_find_command_file): Initialize result. | |
1019 | ||
7d24f02c KH |
1020 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
1021 | ||
1022 | * ld.texinfo (-L): Mention that -L options do not affect how ld | |
1023 | searches for a linker script unless -T option is specified. | |
1024 | * ldfile.c (ldfile_find_command_file): Append the path obtained | |
1025 | from the program name to the search path instead of | |
1026 | prepending. Add a new parameter "default_only". Restrict the | |
1027 | search to the default script location if the new parameter is | |
1028 | true. | |
1029 | (ldfile_open_command_file_1): New. | |
1030 | (ldfile_open_command_file): Call ldfile_open_command_file_1. | |
1031 | (ldfile_open_default_command_file): New. | |
1032 | ||
113e6845 NS |
1033 | 2009-04-03 Nathan Sidwell <nathan@codesourcery.com> |
1034 | ||
1035 | * ldlang.c (lang_leave_output_section_statement): Set lma_region | |
1036 | if it is not overridden and section is for the same vma region as | |
1037 | the previous section. | |
1038 | ||
8b747e1a DK |
1039 | 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> |
1040 | ||
1041 | PR ld/6744 | |
1042 | * ld.texinfo (--export-dynamic): Mention --export-all-symbols. | |
1043 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue | |
1044 | warning if --export-dynamic was passed on command-line. | |
1045 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. | |
1046 | ||
24c611d1 RS |
1047 | 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> |
1048 | ||
1049 | * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New | |
1050 | function. | |
1051 | (ld_${EMULATION_NAME}_emulation): Use it. | |
1052 | ||
4bf27aa9 L |
1053 | 2009-03-20 H.J. Lu <hongjiu.lu@intel.com> |
1054 | ||
1055 | PR ld/9970 | |
1056 | * ldlang.c (lang_end): Warn missing entry symbol for -pie. | |
1057 | ||
ad2adbc8 AM |
1058 | 2009-03-19 Alan Modra <amodra@bigpond.net.au> |
1059 | ||
1060 | * emultempl/spuelf.em (spu_before_allocation): Report errors from | |
1061 | spu_elf_find_overlays. | |
1062 | ||
e9dfee34 L |
1063 | 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> |
1064 | ||
1065 | PR ld/6766 | |
1066 | * lexsup.c (parse_args): Call ldlang_add_undef for -e. | |
1067 | ||
8d25cc3d AM |
1068 | 2009-03-18 Alan Modra <amodra@bigpond.net.au> |
1069 | ||
1070 | * ld.h: Remove alloca handling. | |
1071 | ||
a7e11ee1 AM |
1072 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
1073 | ||
1074 | * emultempl/spu_icache.S: Add new entry to dummy handler. | |
1075 | * emultempl/spu_icache.o_c: Regenerate. | |
1076 | * emultempl/spuelf.em (params): Init new field. | |
1077 | (no_overlays): New static var. | |
1078 | (spu_before_allocation): Use it. | |
1079 | (OPTION_SPU_COMPACT_STUBS): Define. | |
1080 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. | |
1081 | (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays | |
1082 | handling. | |
1083 | ||
bba21f15 AM |
1084 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
1085 | ||
1086 | * configure.host (HOSTING_LIBS): Two dollars on shell variable | |
1087 | expansion to suit make. | |
1088 | ||
eccbf555 AM |
1089 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
1090 | ||
1091 | * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. | |
1092 | * Makefile.am (check-DEJAGNU): Set DO_COMPARE. | |
1093 | * aclocal.m4: Regenerate. | |
1094 | * configure: Regenerate. | |
1095 | * Makefile.in: Regenerate. | |
1096 | ||
b64232cc RS |
1097 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
1098 | ||
1099 | * emultempl/aix.em (auto_export_flags): New variable. | |
1100 | (explicit_auto_export_flags): Likewise. | |
1101 | (OPTION_EXPALL, OPTION_EXPFULL): New enum values. | |
1102 | (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. | |
1103 | (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, | |
1104 | -bnoexpall and -bnoexpfull. | |
1105 | (gld${EMULATION_NAME}_handle_option): Handle them. | |
1106 | (gld${EMULATION_NAME}_before_allocation): Update the call to | |
1107 | bfd_size_dynamic_sections. | |
1108 | ||
858ef0ce RS |
1109 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
1110 | ||
1111 | * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make | |
1112 | -berok and -bernotok control link_info.unresolved_syms_in_objects | |
1113 | and link_info.unresolved_syms_in_shared_libs instead of | |
1114 | force_make_executable. | |
1115 | ||
62008a16 RS |
1116 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
1117 | ||
1118 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set | |
1119 | config.dynamic_link to TRUE. | |
1120 | ||
9ec59d51 RS |
1121 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
1122 | ||
1123 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark | |
1124 | .text, .data and .bss output sections as SEC_KEEP. | |
1125 | ||
e5231592 RS |
1126 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
1127 | ||
1128 | * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. | |
1129 | ||
2f563b51 | 1130 | 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> |
249b2a84 | 1131 | Danny Smith <dannysmith@users.sourceforge.net> |
2f563b51 DK |
1132 | |
1133 | * emultmpl/pe.em (pe_dll_characteristics): New variable. | |
1134 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
1135 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
1136 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
1137 | New macros for options to set DllCharacteristics flag bits. | |
1138 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
1139 | nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
1140 | (init): Add DllCharacteristics field. | |
1141 | (gld_${EMULATION_NAME}_list_options): List new options. | |
1142 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
1143 | * emultmpl/pep.em (pe_dll_characteristics): New variable. | |
1144 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
1145 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
1146 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
1147 | New macros for options to set DllCharacteristics flags. | |
1148 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
1149 | nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
1150 | (init): Add DllCharacteristics field. | |
1151 | (gld_${EMULATION_NAME}_list_options): List new options. | |
1152 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
1153 | * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, | |
1154 | no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
1155 | ||
d11fd249 NC |
1156 | 2009-03-06 Nick Clifton <nickc@redhat.com> |
1157 | ||
1158 | * po/es.po: Updated Spanish translation. | |
1159 | ||
3efd345c DK |
1160 | 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> |
1161 | ||
1162 | * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. | |
1163 | (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections | |
1164 | of all input BFDs, looking for debug info. Enable long section names | |
1165 | if any found. | |
1166 | * emultempl/pe.em (debug_section_p): Likewise. | |
1167 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
1168 | * NEWS: Retrospectively adjust news announcement. | |
1169 | * ld.texinfo: Update documentation to mention new behaviour. | |
1170 | ||
a1f7ca36 AM |
1171 | 2009-03-03 Alan Modra <amodra@bigpond.net.au> |
1172 | ||
1173 | * Makefile.am: Run "make dep-am". | |
1174 | * Makefile.in: Regenerate. | |
1175 | ||
4a93e180 NC |
1176 | 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
1177 | ||
1178 | * ldgram.y: Add support for REGION_ALIAS operator. | |
1179 | * ldlang.c: Likewise. | |
1180 | * ldlang.h: Likewise. | |
1181 | * ldlex.l: Likewise. | |
1182 | * NEWS: Mention the new feature. | |
1183 | * ld.texinfo: Document the new feature. | |
1184 | ||
c3b7224a NC |
1185 | 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> |
1186 | ||
1187 | * Makefile.am: Replace score elf emulation with score3 and score7 | |
1188 | emulations. | |
1189 | * Makefile.in: Regenerate, | |
1190 | * NEWS: Mention support for Score7 architecture. | |
1191 | * configure.tgt: Add score7 emulation to score-elf target. | |
1192 | * emulparams/scoreelf.sh: Add score7 support. | |
1193 | * emultempl/scoreelf.em: Likewise. | |
1194 | ||
d1bbb13a DA |
1195 | 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1196 | ||
1197 | * configure.tgt: Only use elf64hppa target emulation for hpux. | |
1198 | * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. | |
1199 | (SCRIPT_NAME): Use new script elf64hppa. | |
1200 | (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, | |
1201 | TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, | |
1202 | OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, | |
1203 | DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, | |
1204 | TEXT_DYNAMIC): Define. | |
1205 | * emulparams/hppa64linux.sh: Adjust comments. | |
1206 | * scripttempl/elf64hppa.sc: New file. | |
1207 | ||
58e24671 RW |
1208 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1209 | ||
1210 | * configure: Regenerate. | |
1211 | ||
5b9c6027 DK |
1212 | 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> |
1213 | ||
1214 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set | |
1215 | default state of auto-import flag based on $target. | |
1216 | ||
07d72278 DJ |
1217 | 2009-02-24 Joseph Myers <joseph@codesourcery.com> |
1218 | ||
1219 | * ld.texinfo (ARM): Document changed meaning of --stub-group-size. | |
1220 | * emultempl/armelf.em (hook_in_stub): Insert after the input section. | |
1221 | (elf32_arm_add_stub_section): Update comment. | |
1222 | (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. | |
1223 | ||
2509a395 SL |
1224 | 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> |
1225 | ||
1226 | * ld.texinfo (Options): Correct typos in example. Recommend | |
7ee314fa | 1227 | using joined forms of syntax for passing options with arguments |
2509a395 SL |
1228 | from a driver. |
1229 | (-a): Use consistent syntax for documenting option arguments. | |
1230 | Clean up indexing and markup. | |
1231 | (-A/--architecture): Likewise. | |
1232 | (-f/--auxiliary): Likewise. | |
1233 | (-F/--filter): Likewise. | |
1234 | (-fini): Likewise. | |
1235 | (-G/--gpsize): Likewise. | |
1236 | (-h/-soname):Likewise. | |
1237 | (-init): Likewise. | |
1238 | (-l/--library): Likewise. | |
1239 | (-L/--library-path): Likewise. | |
1240 | (-m): Likewise. | |
1241 | (--defsym): Likewise. | |
1242 | (-I/--dynamic-linker): Likewise. | |
1243 | (-Map): Likewise. | |
1244 | (--oformat): Likewise. | |
1245 | (--retain-symbols-file): Likewise. | |
1246 | (-rpath): Likewise. | |
1247 | (-rpath-link): Likewise. | |
1248 | (--sort-common): Likewise. | |
1249 | (--sort-section): Likewise. | |
1250 | (--split-by-file): Likewise. | |
1251 | (--split-by-reloc): Likewise. | |
1252 | (--sysroot): Likewise. | |
1253 | (--section-start): Likewise. | |
1254 | (-Tbss, -Tdata, -Ttext): Likewise. | |
1255 | (-Ttext-segment): Likewise. | |
1256 | (--version-script): Likewise. | |
1257 | (--wrap): Likewise. | |
1258 | ||
44cf6883 | 1259 | 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> |
88183869 DK |
1260 | |
1261 | * ld.texinfo: Update to mention long section name options. | |
1262 | * NEWS: Mention new behaviour and command-line options. | |
1263 | * pe-dll.c (pe_use_coff_long_section_names): New global variable. | |
1264 | (pe_output_file_set_long_section_names): New function. | |
1265 | (pe_dll_build_sections): Call it on output BFDs. | |
1266 | (pe_exe_build_sections): Likewise. | |
1267 | (pe_dll_fill_sections): Likewise. | |
1268 | (pe_exe_fill_sections): Likewise. | |
1269 | * pe-dll.h (pe_use_coff_long_section_names): Declare extern. | |
1270 | (pe_output_file_set_long_section_names): Add prototype. | |
1271 | * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. | |
1272 | (pe_output_file_set_long_section_names): Likewise. | |
1273 | * pep-dll.h (pep_use_coff_long_section_names): Declare extern. | |
1274 | (pep_output_file_set_long_section_names): Add prototype. | |
1275 | * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. | |
1276 | (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. | |
1277 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
1278 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
1279 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
1280 | pe_use_coff_long_section_names flag when options recognised. | |
1281 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
1282 | for main output bfd by calling pe_output_file_set_long_section_names. | |
1283 | * pep.em (enum options): Extend enum with new getopt option values. | |
1284 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
1285 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
1286 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
1287 | pe_use_coff_long_section_names flag when options recognised. | |
1288 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
1289 | for main output bfd by calling pep_output_file_set_long_section_names. | |
1290 | ||
1491f1f0 DK |
1291 | 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> |
1292 | ||
1293 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit | |
1294 | inadvertent .reloc sections caused by refactoring accident. | |
1295 | ||
d2ae7be0 AM |
1296 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
1297 | ||
1298 | * ldlang.c (process_insert_statements): ASSERT that output section | |
1299 | statements are in order. | |
1300 | ||
bde18da4 AM |
1301 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
1302 | ||
1303 | * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. | |
1304 | (stat_save, stat_save_ptr): New variables. | |
1305 | (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. | |
1306 | (load_symbols): Likewise. Delete dead "bad_load" code. | |
1307 | (open_input_bfds): Warn on script containing output sections. | |
1308 | (lang_enter_output_section_statement): Use push_stat_ptr. | |
1309 | (lang_enter_group): Likewise. | |
1310 | (lang_leave_output_section_statement): Use pop_stat_ptr. | |
1311 | (lang_leave_group): Likewise. | |
1312 | * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. | |
1313 | * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. | |
1314 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1315 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1316 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1317 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
1318 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. | |
1319 | ||
662ef24b NS |
1320 | 2009-02-09 Nathan Sidwell <nathan@codesourcery.com> |
1321 | ||
1322 | Missing piece of 2009-01-26 commit | |
1323 | * ldlang.c (lang_process): Don't consider relocatable flag when | |
1324 | checking for overlap. | |
1325 | ||
268e4015 JM |
1326 | 2009-02-05 Joseph Myers <joseph@codesourcery.com> |
1327 | ||
1328 | * emulparams/m68kelf.sh: Add newline at end of file. | |
1329 | ||
903249d7 NC |
1330 | 2009-02-04 Nick Clifton <nickc@redhat.com> |
1331 | ||
1332 | PR 9805 | |
1333 | * ld.texinfo (--allow-shlib-undefined): Correct description of | |
1334 | default settings and tidy up the rest of the entry. | |
1335 | ||
df636c05 AM |
1336 | 2009-02-04 Alan Modra <amodra@bigpond.net.au> |
1337 | ||
1338 | * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* | |
1339 | during relocatable link. | |
1340 | ||
8a308ae8 NC |
1341 | 2009-02-03 Nick Clifton <nickc@redhat.com> |
1342 | ||
1343 | PR 9797 | |
1344 | * ld.texinfo (Constants): Document the base-encoding suffixes | |
1345 | supported in linker scripts. | |
1346 | ||
28024d9d L |
1347 | 2009-02-03 Alan Modra <amodra@bigpond.net.au> |
1348 | ||
1349 | * NEWS: Mention --as-needed change. | |
1350 | ||
31dd3154 JM |
1351 | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> |
1352 | ||
1353 | * configure.in: AC_SUBST pdfdir. | |
1354 | * Makefile.am: Add install-pdf, install-pdf-am, | |
1355 | and install-pdf-recursive targets. Define pdf__strip_dir. | |
1356 | * po/Make-in: Add install-pdf target. | |
1357 | * configure: Regenerate. | |
1358 | * Makefile.in: Regenerate. | |
1359 | ||
010e5ae2 AM |
1360 | 2009-01-31 Alan Modra <amodra@bigpond.net.au> |
1361 | ||
1362 | * ld.texinfo (--as-needed): Update. | |
1363 | ||
893dcb0e JM |
1364 | 2009-01-29 Andrew Jenner <andrew@codesourcery.com> |
1365 | ||
1366 | * emultempl/armelf.em: Correct formatting of help text for | |
1367 | --no-enum-size-warning option. | |
1368 | ||
02b0b1aa NS |
1369 | 2009-01-26 Nathan Sidwell <nathan@codesourcery.com> |
1370 | ||
1371 | * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. | |
1372 | * ld.h (args_type): Make check_section_addresses a char. | |
02b0b1aa NS |
1373 | * ldmain.c (main): Default check_section_addresses to -1. Check it |
1374 | for relocatable links. | |
1375 | * ld.texinfo (--check-sections): Update documentation. | |
1376 | ||
9382254d KT |
1377 | 2009-01-26 Kai Tietz <kai.tietz@onevision.com> |
1378 | ||
1379 | * pe-dll.c (tmp_seq2): New static variable. | |
1380 | (make_singleton_name_imp): New. | |
1381 | (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and | |
1382 | avoid duplicate import table generation for same symbol. | |
1383 | (pe_create_runtime_relocator_reference): Make reference for | |
1384 | 64-bit 8 bytes. | |
1385 | ||
fb266b8b AM |
1386 | 2009-01-21 Alan Modra <amodra@bigpond.net.au> |
1387 | ||
1388 | * emultempl/spuelf.em (params): Init new field. | |
1389 | (OPTION_SPU_NON_IA_TEXT): Define. | |
1390 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. | |
1391 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. | |
1392 | ||
258795f5 L |
1393 | 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1394 | ||
1395 | * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. | |
1396 | (ld_options): Add -Ttext-segment. | |
1397 | (parse_args): Handle OPTION_TTEXT_SEGMENT. | |
1398 | ||
1399 | * ld.texinfo: Document -Ttext-segment. | |
1400 | ||
1401 | * NEWS: Mention -Ttext-segment. | |
1402 | ||
1403 | * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. | |
1404 | (SHLIB_TEXT_START_ADDR): Likewise. | |
1405 | ||
8d8047c4 AM |
1406 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
1407 | ||
1408 | * emultempl/spu_icache.o_c: Regenerate. | |
1409 | ||
cd4a7468 AM |
1410 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
1411 | ||
1412 | * emultempl/spuelf.em (params): Init new fields. | |
1413 | (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. | |
1414 | (spu_place_special_section): Adjust placement for soft-icache. Pad | |
1415 | soft-icache section to a fixed size. Clear addr_tree. | |
1416 | (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager | |
1417 | sections a little more intelligently. | |
1418 | (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. | |
1419 | (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. | |
1420 | (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. | |
1421 | (OPTION_SPU_LRLIVE): Define. | |
1422 | (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. | |
1423 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1424 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
1425 | * emultempl/spu_icache.S: Dummy file. | |
1426 | * emultempl/spu_icache.o_c: Regenerate. | |
1427 | * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. | |
1428 | (spu_icache.o_c): Add rule to build. | |
1429 | (CLEANFILES): Zap temp files. | |
1430 | (EXTRA_DIST): Add spu_icache.o_c. | |
1431 | * Makefile.in: Regenerate. | |
1432 | ||
ce11ba6c KT |
1433 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
1434 | ||
1435 | * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. | |
1436 | (gld..._add_options): Add new option | |
1437 | --use-nul-prefixed-import-tables. | |
1438 | (gld..._handle_option): Likewise. | |
1439 | * pep.em: Same as for pe.em. | |
1440 | * ld.texinfo: Add new option documentation for | |
1441 | --use-nul-prefixed-import-tables. | |
1442 | * pe-dll.c (pe_use_nul_prefixed_import_tables): New. | |
1443 | (make_head): Make prefix leading zero prefix element for | |
1444 | idata$4 and idata$5 dependent to new flag. | |
1445 | (make_import_fixup_entry): Remove idata4/5 prefix. | |
1446 | * pe-dll.h (pe_use_nul_prefixed_import_tables): New. | |
1447 | * pep-dll.c (pe_use_nul_prefixed_import_tables): New. | |
1448 | * pep-dll.h (pep_use_nul_prefixed_import_tables): New. | |
1449 | * NEWS: Add new option. | |
1450 | ||
d34c1c51 KT |
1451 | 2009-01-05 Kai Tietz <kai.tietz@onevision.com> |
1452 | ||
1453 | * emultempl/pe.em: Prefix dollar characters to be outputed in | |
1454 | generated C file. | |
1455 | * emultempl/pep.em: Likewise. | |
1456 | ||
e1c37eb5 DK |
1457 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
1458 | ||
1459 | * NEWS: Mention new feature --exclude-modules-for-implib. | |
1460 | * ld.texinfo: Document new --exclude-modules-for-implib option. | |
1461 | * pe-dll.c (exclude_list_struct): Change type member from int to | |
1462 | new enumeration exclude_type. | |
1463 | (pe_dll_add_excludes): Accept exclude_type instead of int param. | |
1464 | (auto_export): Replace magic constants by exclude_type values and | |
1465 | handle new choice EXCLUDEFORIMPLIB. | |
1466 | (pe_dll_generate_implib): Accept a pointer to the link_info and | |
1467 | iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open | |
1468 | fresh BFDs for any found and link into import lib archive chain. | |
1469 | * pe-dll.h (exclude_type): Add new enumerated type to replace magic | |
1470 | constants previously used for exclude_list_struct type member. | |
1471 | (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. | |
1472 | * pep-dll.h (exclude_type, pe_dll_add_excludes, | |
1473 | pe_dll_generate_implib): Likewise to all the above. | |
1474 | * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new | |
1475 | getopts long option code for new --exclude-modules-for-implib option. | |
1476 | (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. | |
1477 | (gld_${EMULATION_NAME}_list_options): List usage for it. | |
1478 | (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated | |
1479 | values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. | |
1480 | (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when | |
1481 | calling pe_dll_generate_implib. | |
1482 | * emultempl/pep.em (options): Define new enumerated value for getopts | |
1483 | long option code for new --exclude-modules-for-implib option. | |
1484 | (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, | |
1485 | gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): | |
1486 | Again, likewise to all the above. | |
1487 | ||
81b07b16 | 1488 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
84e94c90 | 1489 | |
81b07b16 DK |
1490 | * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. |
1491 | (libnamencmp): New function. | |
1492 | (auto_export): Use it in place of strncmp when filtering libraries. | |
84e94c90 | 1493 | |
81b07b16 | 1494 | For older changes see ChangeLog-2008 |
252b5132 RH |
1495 | \f |
1496 | Local Variables: | |
1497 | mode: change-log | |
1498 | left-margin: 8 | |
1499 | fill-column: 74 | |
1500 | version-control: never | |
1501 | End: |