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