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