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