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