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