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