* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1b169501
BF
12004-05-07 Brian Ford <ford@vss.fsi.com>
2
3 * NEWS: Mention DWARF 2 support for i386pe.
4
41cf0c62
AO
52004-05-05 Alexandre Oliva <aoliva@redhat.com>
6
7 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
8 elf32-frvfdpic.
9
d0d6a25b
AM
102004-04-30 Alan Modra <amodra@bigpond.net.au>
11
12 * ldlang.c (unique_section_p): Pass section parm, return true on
13 group sections.
14 (output_section_callback): Adjust.
15 * ldlang.h (unique_section_p): Update prototype.
16 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
17
755306be
EB
182004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
19
20 * ld.texinfo (--gc-sections): Remove restriction for
21 dynamic linking.
22
8a7140c3
NC
232004-04-29 Brian Ford <ford@vss.fsi.com>
24
25 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
26 for DWARF 2/3. Update stab section's syntax.
27
2f9636ba
AM
282004-04-29 Alan Modra <amodra@bigpond.net.au>
29
30 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
31 (fill_edata): Correct pointer arithmetic.
32
23867d67
CD
332004-04-21 Chris Demetriou <cgd@broadcom.com>
34
35 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
36 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
37 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
38 (EXTRA_EM_FILE): Use mipsecoff.em
39 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
40 (EXTRA_EM_FILE): Use mipsecoff.em
41 * emultempl/mipsecoff.em: Restructure to be included as an
42 extra emulation file.
43 (check_sections, gld${EMULATION_NAME}_after_open)
44 (gld${EMULATION_NAME}_after_allocation)
45 (gld${EMULATION_NAME}_get_script)
46 (ld_${EMULATION_NAME}_emulation): Remove
47 (gld${EMULATION_NAME}_before_parse): Rename to...
48 (mipsecoff_before_parse): This.
49 (LDEMUL_BEFORE_PARSE): Define.
50 * emultempl/mipself.em: Remove file.
51 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
52 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
53 these symbols.
54 * Makefile.am: Remove dependencies on emultempl/mipself.em.
55 * Makefile.in: Regenerate.
56
1502569c
NC
572004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
58
59 * ld.texinfo (synthesizing on H8/300): Information about linker
60 relaxation support for bit manipulation instructions and system
61 control instructions is added.
62
c894ddfb
HPN
632004-04-21 Hans-Peter Nilsson <hp@axis.com>
64
65 * NEWS: Mention change in DEFINED semantics.
66
a85bf78e
EB
672004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
68
69 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
70 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
71 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
72
58434bc1
BE
732004-04-21 Ben Elliston <bje@au.ibm.com>
74
75 * ld.texinfo (Simple Example): Add missing punctuation.
76
7a7f4e42
CD
772004-04-20 Chris Demetriou <cgd@broadcom.com>
78
79 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
80
3737f867
JJ
812004-04-19 Jakub Jelinek <jakub@redhat.com>
82
83 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
84 specially.
85
3c17e4f7
DS
862004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
87
88 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
89 with default priority. Likewise for dtors.
90
279500de
TS
912004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
92
93 * configure.host: Remove mips*-dec-bsd* target.
94 * configure.tgt: Likewise.
95
52f89c0a
RS
962004-04-08 Richard Sandiford <rsandifo@redhat.com>
97
98 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
99 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
100 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
101 * emultempl/irix.em: New file.
102 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
103 dependencies.
104 * Makefile.in: Regenerate.
105
e489d0ae
PB
1062004-04-01 Paul Brook <paul@codesourcery.com>
107
108 * emultempl/armelf.em (byteswap_code): Add.
109 (arm_elf_before_allocation): Pass extra parameter.
110 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
111 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
112 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
113 * emultempl/armelf_oabi.em: Pass extra parameter.
114 * ld.texinfo: Document --be8.
115
7cc8057a
SS
1162004-03-30 Stan Shebs <shebs@apple.com>
117
118 Remove long-obsolete MPW support.
119 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
120 * Makefile.am (mpw): Remove file-presynthesizing actions.
121 * Makefile.in: Likewise.
122 * ldfile.c (slash): Remove MPW case.
123 * ldlex.l [MPW]: Remove unused definition.
124
0949843d
NC
1252004-03-30 Galit Heller <Galit.Heller@nsc.com>
126
127 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
128 (eelf32cr16c.c): New target.
129 * Makefile.in: Regenerate.
130 * configure.tgt: Handle cr16c-*-elf*.
131 * emulparams/elf32cr16c.sh: New file.
132 * scripttempl/elfcr16c.sc: Likewise
133 * NEWS: Mention support for new target.
134
0a159ef8
NC
1352004-03-30 Nick Clifton <nickc@redhat.com>
136
137 * po/sv.po: Updated Swedish translation.
138
7a945db6
AM
1392004-03-27 Alan Modra <amodra@bigpond.net.au>
140
141 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
142 * emultempl/hppaelf.em: Likewise.
143 * emultempl/ppc64elf.em: Likewise.
144 * emultempl/sh64elf.em: Likewise.
145
5a580b3a
AM
1462004-03-25 Alan Modra <amodra@bigpond.net.au>
147
148 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
149 size_dynamic_sections call.
150
b9cf773d
AM
1512004-03-23 Alan Modra <amodra@bigpond.net.au>
152
153 PR 51.
154 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
155 link_info.wrap_char.
156
59c2e50f
L
1572004-03-20 H.J. Lu <hongjiu.lu@intel.com>
158
159 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
160 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
161
44349745
AO
1622004-03-20 Alexandre Oliva <aoliva@redhat.com>
163
164 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
165
81359a70
AM
1662004-03-19 Alan Modra <amodra@bigpond.net.au>
167
168 * config.in: Regenerate.
169 * po/ld.pot: Regenerate.
170
4a43e768
AM
1712004-03-18 Alan Modra <amodra@bigpond.net.au>
172
173 * ld.texinfo: Add --as-needed doco.
174 * ldmain.c (as_needed): New global var.
175 * ldmain.h (as_needed): Declare.
176 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
177 OPTION_NO_AS_NEEDED.
178 (ld_options): Likewise.
179 (parse_args): Handle them.
180 * ldlang.h (lang_input_statement_type): Add as_needed field.
181 * ldlang.c (new_afile): Set p->as_needed.
182 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
183 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
184 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
185
186 * ldlang.c (open_input_bfds): Remove useless cast.
187 (lang_do_assignments_1): Likewise.
188 (lang_for_each_input_section): Delete.
189
9183ed4b
AM
1902004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
191
192 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
193
ee31fbd0
NC
1942004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
195
196 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
197 private when building implib.
198
e5caec89
NS
1992004-03-05 Nathan Sidwell <nathan@codesourcery.com>
200
201 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
202 SEC_THREAD_LOCAL.
203 (IGNORE_SECTION): Ignore .tbss sections too.
204 (lang_size_sections_1): .tbss sections do not advance dot.
205
cc2f008e
AS
2062004-03-01 Andreas Schwab <schwab@suse.de>
207
208 * ld.texinfo (Options): Fix example for --wrap.
209
f5a95868
DS
2102004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
211
212 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
213 not NULL.
214
177b729b
ILT
2152004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
216
217 * ldlang.c (lang_check): Use %P, not %E, in error message.
218
1b493742
NS
2192004-02-23 Nathan Sidwell <nathan@codesourcery.com>
220
221 * ldlang.h (struct lang_output_section_state): Change processed
222 field's type.
223 * ldexp.c (check, invalid): Remove.
224 (fold_name): Move valid_p assignments. Create undefined symbol
225 when needed. Directly exampine section's processd flag.
226 * ldlang.c (lang_output_section_statement_lookup): Adjust
227 processed field init.
228 (lang_size_sections_1): Allow LOADADDR when determining section's
229 VMA. Adjust error message. Fold data statement's expr.
230 (lang_size_sections): Correctly increment lang_statement_iteration.
231
2322004-02-23 Alan Modra <amodra@bigpond.net.au>
233
234 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 235
876f4090
NS
2362004-02-20 Nathan Sidwell <nathan@codesourcery.com>
237
238 * ldgram.y (exp): Add two operand ALIGN.
239 * ldexp.c (fold_binary): Add ALIGN_K case.
240 * ld.texinfo (ALIGN): Document two operand version.
241
384d938f
NS
2422004-02-19 Nathan Sidwell <nathan@codesourcery.com>
243
244 * ldlang.c (map_input_to_output_sections): Initialize sections
245 mentioned in a data statement expression.
246 (lang_do_assignments_1): Add data statement's expression's
247 section's vma.
248
b6ca8815
NS
2492004-02-18 Nathan Sidwell <nathan@codesourcery.com>
250
251 * ldgram.y (statement_anywhere): Add assert rule.
252 * ldlang.c (exp_init_os): Add assert case.
253
c92c35e7
AC
2542004-02-14 Andrew Cagney <cagney@redhat.com>
255
256 * ldmain.c (remove_output): Call bfd_cache_close.
257
9bf78c99
RS
2582004-02-14 Richard Sandiford <rsandifo@redhat.com>
259
260 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
261 .MIPS.content* and .MIPS.events* sections.
262
f3806916
DJ
2632004-02-09 Daniel Jacobowitz <drow@mvista.com>
264
265 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
266 .note.gnu.arm.ident to after allocated sections. Mark its
267 address as 0.
268
4c8e70d7
DJ
2692004-02-09 Daniel Jacobowitz <drow@mvista.com>
270
271 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
272 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
273 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
274 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
275 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
276
ff71f4f7
NC
2772004-02-05 Nick Clifton <nickc@redhat.com>
278
279 * emultempl/pe.em (_after_open): Fix typo in previous delta.
280
07a68a80
NC
2812004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
282
283 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
284
1dd3bf68
AM
2852004-01-28 Alan Modra <amodra@bigpond.net.au>
286
586196d5
AM
287 * genscripts.sh: Fix typo.
288
1dd3bf68
AM
289 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
290
13d9421f
JJ
2912004-01-24 Jakub Jelinek <jakub@redhat.com>
292
293 * emulparams/elf64_ia64.sh: Put .rela.opd into
294 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
295
4d8907ac
DS
2962004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
297
298 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
299 * ld.texinfo (--omagic): Note that writable text section
300 does not conform to published PE-COFF specs.
301 (--enable-auto-import): Likewise.
302
e5c60db5
AM
3032004-01-15 Alan Modra <amodra@bigpond.net.au>
304
305 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
306
6bdafbeb
NC
3072004-01-13 Nick Clifton <nickc@redhat.com>
308
309 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
310 which if true will prevent the LMA region being used as a
311 replacement for a default VMA region.
586196d5
AM
312 (lang_leave_output_section_statement): Pass extra parameter.
313 (lang_leave_overlay): Likewise.
314 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
315 region can be set to the VMA region if no VMA has been set.
316 * ldlang.h (struct lang_output_section_phdr_list): Create a
317 typedef for this type. Minor formatting fixes.
586196d5 318
9dfc8ab2
NC
3192004-01-13 Nick Clifton <nickc@redhat.com>
320
321 * ldlang.c (lang_size_sections_1): If dot is advanced, then
322 assume that the section should be allocated.
323
8325c4dd
AM
3242004-01-13 Alan Modra <amodra@bigpond.net.au>
325
326 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
327 sections. Do ignore SEC_NEVER_LOAD sections.
328 (lang_size_sections_1): Remove test made redundant with the above.
329
83490352
AM
3302004-01-09 Alan Modra <amodra@bigpond.net.au>
331
332 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
333 program_header_size.
334
005e1118
AO
3352004-01-06 Alexandre Oliva <aoliva@redhat.com>
336
337 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
338 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
339 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
340 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
341 (MAXPAGESIZE): Set to 64Kb.
342 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
343 __ROFIXUP_END__. Don't map .rofixup.got any more.
344 * emulparams/elf32frv.sh (NOP): Set.
345 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
346 * configure.tgt: Add frv-*-*linux*.
347 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
348 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
349 (eelf32frvfd.c): New.
350 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
351 * emulparams/elf32frv.sh: Reverted previous two patches.
352 * emulparams/elf32frvfd.sh: New.
353 * Makefile.in: Rebuilt.
354 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
355 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
356 .rofixup.got to .rofixup.
357 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
358 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
359 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
360
060feee5
JJ
3612004-01-05 Jakub Jelinek <jakub@redhat.com>
362
363 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
364 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
365
5e2f1575
AM
3662004-01-03 Alan Modra <amodra@bigpond.net.au>
367
e5caa5e0
AM
368 * ldexp.c (align_n): Make static.
369 * ldexp.h (align_n): Delete declaration.
370 * ldlang.h (lang_enter_output_section_statement): Remove
371 block_value param.
372 * ldlang.c (lang_enter_output_section_statement): Likewise.
373 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 374 (opb_shift): New var.
e5caa5e0
AM
375 (init_opb): New function.
376 (print_input_section): Call init_opb and use TO_ADDR.
377 (print_data_statement, print_reloc_statement): Likewise.
378 (print_padding_statement): Likewise.
c2df3ea5 379 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
380 (lang_check_section_addresses): Likewise.
381 (lang_size_sections_1): Likewise.
382 (lang_do_assignments_1): Likewise.
383 (lang_set_startof): Likewise.
c2df3ea5 384 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 385 (lang_process): Call init_opb.
c2df3ea5 386 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
387 (lang_enter_overlay_section): Adjust
388 lang_enter_output_section_statement call.
389 * ldgram.y: Likewise.
390 * mri.c (mri_draw_tree): Likewise.
391 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
392 * emultempl/mmo.em (mmo_place_orphan): Likewise.
393 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
394
5e2f1575
AM
395 * ldfile.c (ldfile_set_output_arch): Add defarch param.
396 * ldfile.h (ldfile_set_output_arch): Ditto.
397 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
398 ldfile_set_output_arch.
399 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
400 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
401 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
402 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
403 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
404 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
405 * ldgram.y: Adjust ldfile_set_output_arch call.
406 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
407 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
408 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
409 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
410 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
411 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
412 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
413
b50c15dc
NC
4142004-01-02 Bernardo Innocenti <bernie@develer.com>
415
416 * configure.tgt: Add m68k-uClinux target.
6edf0760 417
c9e214e5 418For older changes see ChangeLog-0203
252b5132
RH
419\f
420Local Variables:
421mode: change-log
422left-margin: 8
423fill-column: 74
424version-control: never
425End:
This page took 0.358943 seconds and 4 git commands to generate.