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