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