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