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