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