* readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f6f9408f
JR
12004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
2
3 * testsuite/ld-sh/arch/arch.exp: New test script.
4 * testsuite/ld-sh/arch/arch_expected.txt: New file.
5 * testsuite/ld-sh/arch/sh.s: New file.
6 * testsuite/ld-sh/arch/sh2.s: New file.
7 * testsuite/ld-sh/arch/sh-dsp.s: New file.
8 * testsuite/ld-sh/arch/sh2e.s: New file.
9 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
10 * testsuite/ld-sh/arch/sh3.s: New file.
11 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
12 * testsuite/ld-sh/arch/sh3e.s: New file.
13 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
14 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
15 * testsuite/ld-sh/arch/sh4.s: New file.
16 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
17 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
18 * testsuite/ld-sh/arch/sh4a.s: New file.
19
164e712d
AM
202004-05-28 Alan Modra <amodra@bigpond.net.au>
21
6feb9908
AM
22 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
23 throughout file.
24 * lexsup.c: Formatting. Wrap long lines.
25 * ldwrite.c: Update copyright date.
26
164e712d
AM
27 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
28 (output_section_callback): Nor SEC_KEEP here.
29 (gc_section_callback): Twiddle SEC_EXCLUDE here.
30 (lang_gc_wild): Delete. Fold into..
31 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
32 collecting.
33 (lang_process): Always call lang_gc_sections.
34 (lang_place_orphans): Handle SEC_EXCLUDE sections.
35 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
36 SEC_EXCLUDE code.
37
b3096250
L
382004-05-26 H.J. Lu <hongjiu.lu@intel.com>
39
40 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
41 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
42 * ldlang.c (lang_add_section): Likewise.
43
e49f5022
AM
442004-05-26 Alan Modra <amodra@bigpond.net.au>
45
46 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
47 sections when doing a final link. Clear SEC_EXCLUDE when doing
48 a relocable link, except for SEC_DEBUGGING sections.
49 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
50 same condition here to drop SEC_EXCLUDE orphan sections.
51
57ceae94
AM
522004-05-25 Alan Modra <amodra@bigpond.net.au>
53
54 * ldlang.c (lang_process): Call bfd_merge_sections later, and
55 only when not a relocatable link.
56 (print_input_section): Handle SEC_EXCLUDE sections.
57 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
58 (lang_do_assignments_1): Likewise.
59 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
60 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
61 * emultempl/hppaelf.em (build_section_lists): Likewise.
62 * emultempl/ppc64elf.em (build_toc_list): Likewise.
63 (build_section_lists): Likewise.
64
a85785bc
AS
652004-05-23 Andreas Schwab <schwab@suse.de>
66
67 * ld.texinfo (Options): Fix typo in last change.
68
2d643429
NC
692004-05-21 Andy Chittenden <achittenden@bluearc.com>
70
71 * ld.h (ld_config_type): Add new field: hash_table_size.
72 * ldmain.c: Initialise the new field to zero. If it is non-zero
73 after parsing the linker's command line call
74 bfd_hash_set_default_size.
75 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
76 (ld_options): Add hash-size.
77 (parse_args): Parse --hash-size option. Allow
78 --reduce-memory-overheads to set the default hash table size as
79 well.
80 * ld.texinfo: Document the new switch. Also mention that
81 --reduce-memory-overheads can affect the hash table size.
82 * NEWS: Mention the new feature.
83
35835446
JR
842004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
85
86 * NEWS: Mention new linker map file generation and the
87 --reduce-memory-overheads option.
88 * ld.texinfo: Document --reduce-memory-overheads option.
89 * ld.h (map_symbol_def): New struct.
90 (struct user_section_struct, section_userdata_type): Rename to:
91 (struct lean_user_section_struct, lean_section_userdata_type).
92 (struct fat_user_section_struct, fat_section_userdata_type): New.
93 (SECTION_USERDATA_SIZE): Define.
94 (args_type): New member reduce_memory_overheads.
95 * ldlang.c (map_obstack): New static variable.
96 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
97 (lang_map): Unless command_line.reduce_memory_overheads is set,
98 initialize lists of defined symbols for each section.
99 (print_input_section): Unless command_line.reduce_memory_overheads
100 is set, use print_all_symbols.
101 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
102 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
103 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
104 (ld_options): Add entry for --reduce-memory-overheads.
105 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
106
0841712e
JJ
1072004-05-19 Jakub Jelinek <jakub@redhat.com>
108
109 * ldgram.y (sect_constraint): New.
110 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
111 (section): Add sect_constraint. Pass additional argument
112 to lang_enter_output_section_statement.
113 * mri.c (mri_draw_tree): Pass additional argument to
114 lang_enter_output_section_statement.
115 * emultempl/pe.em (place_orphan): Likewise.
116 (output_prev_sec_find): Disregard output section statements with
117 constraint == -1.
118 * emultempl/mmo.em (output_prev_sec_find): Likewise.
119 (mmo_place_orphan): Pass additional argument to
120 lang_enter_output_section_statement.
121 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
122 statements with constraint == -1.
123 (place_orphan): Pass additional argument to
124 lang_enter_output_section_statement.
125 * ldlang.c (lang_enter_overlay_section): Likewise.
126 (lang_output_section_find_1): New.
127 (lang_output_section_find): Use it.
128 (lang_output_section_statement_lookup_1): New.
129 (lang_output_section_statement_lookup): Use it.
130 (check_section_callback, check_input_sections): New.
131 (map_input_to_output_sections): Check if all input sections
132 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
133 (strip_excluded_output_sections): Disregard output section statements
134 with constraint == -1.
135 (lang_record_phdrs): Likewise.
136 (lang_enter_output_section_statement): Add constraint argument.
137 Use lang_output_section_statement_lookup_1.
138 * ldlang.h (lang_output_section_statement_type): Add constraint
139 and all_input_readonly fields.
140 (lang_enter_output_section_statement): Adjust prototype.
141 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
142 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
143 segment if all input sections are readonly.
144
f2c50328
NC
1452004-05-19 Adam Nemet <anemet@lnxw.com>
146
147 * scripttempl/i386lynx.sc: Remove file.
148
2a16d82a
BW
1492004-05-17 Bob Wilson <bob.wilson@acm.org>
150
151 * ld.texinfo (Output Section Address): Correct subsection name.
152
b2d65c0b
NC
1532004-05-17 Adam Nemet <anemet@lnxw.com>
154
155 * configure.tgt (powerpc-*-lynxos* case): New case.
156 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
157 * emulparams/ppclynx.sh: New file.
158 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
159 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
160 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
161 (eppclynx.c): New rule.
162 * Makefile.in: Regenerate.
163
4b363073
NC
1642004-05-13 Joel Sherrill <joel@oarcorp.com>
165
166 * configure.tgt (or32-*-rtems*): Switch to elf and
167 support versioned targets.
168
9598fbe5
NC
1692004-05-13 Nick Clifton <nickc@redhat.com>
170
171 * po/fr.po: Updated French translation.
172
8c37241b
JJ
1732004-05-11 Jakub Jelinek <jakub@redhat.com>
174
175 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
176 for binaries, -shared and -pie.
177 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
178 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
179 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
180 (OTHER_RELRO_SECTIONS): ... this.
181 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
182 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
183 -z relro and -z norelro.
184 (gld${EMULATION_NAME}_list_options): Add it to usage.
185 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
186 -z relro scripts when appropriate.
187 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
188 Create separate .got.plt section if SEPARATE_GOTPLT.
189 Move sections which are only written during relocation handling
190 to the beginning of RW segment. If NO_SMALL_DATA, move .got
191 before .data. Add DATA_SEGMENT_RELRO_END directive.
192 Include OTHER_RELRO_SECTIONS.
193 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
194 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
195 (fold_unary): Likewise.
196 (fold_binary): Handle -z relro.
197 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
198 exp_dataseg_relro_adjust phases. Add relro_end field.
199 * ldmain.c (main): Initialize link_info.relro to FALSE.
200 * ldlang.c (lang_size_sections): Handle -z relro.
201
e21059f2
MM
2022004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
203
204 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
205
5f9b8920
JR
2062004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
207
208 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
209 before printing it with %W.
210
26d2d8a2
BF
2112004-05-07 Brian Ford <ford@vss.fsi.com>
212 DJ Delorie <dj@redhat.com>
213
214 * emultempl/pe.em (real_flags): New static.
215 (OPTION_LARGE_ADDRESS_AWARE): New define.
216 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
217 (gld_${EMULATION_NAME}_list_options): Likewise.
218 (gld${EMULATION_NAME}_handle_option): Likewise.
219 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
220 * ld.texinfo: Document it.
221 * NEWS: Mention it.
222
1b169501
BF
2232004-05-07 Brian Ford <ford@vss.fsi.com>
224
225 * NEWS: Mention DWARF 2 support for i386pe.
226
41cf0c62
AO
2272004-05-05 Alexandre Oliva <aoliva@redhat.com>
228
229 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
230 elf32-frvfdpic.
231
d0d6a25b
AM
2322004-04-30 Alan Modra <amodra@bigpond.net.au>
233
234 * ldlang.c (unique_section_p): Pass section parm, return true on
235 group sections.
236 (output_section_callback): Adjust.
237 * ldlang.h (unique_section_p): Update prototype.
238 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
239
755306be
EB
2402004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
241
242 * ld.texinfo (--gc-sections): Remove restriction for
243 dynamic linking.
244
8a7140c3
NC
2452004-04-29 Brian Ford <ford@vss.fsi.com>
246
247 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
248 for DWARF 2/3. Update stab section's syntax.
249
2f9636ba
AM
2502004-04-29 Alan Modra <amodra@bigpond.net.au>
251
252 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
253 (fill_edata): Correct pointer arithmetic.
254
23867d67
CD
2552004-04-21 Chris Demetriou <cgd@broadcom.com>
256
257 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
258 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
259 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
260 (EXTRA_EM_FILE): Use mipsecoff.em
261 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
262 (EXTRA_EM_FILE): Use mipsecoff.em
263 * emultempl/mipsecoff.em: Restructure to be included as an
264 extra emulation file.
265 (check_sections, gld${EMULATION_NAME}_after_open)
266 (gld${EMULATION_NAME}_after_allocation)
267 (gld${EMULATION_NAME}_get_script)
268 (ld_${EMULATION_NAME}_emulation): Remove
269 (gld${EMULATION_NAME}_before_parse): Rename to...
270 (mipsecoff_before_parse): This.
271 (LDEMUL_BEFORE_PARSE): Define.
272 * emultempl/mipself.em: Remove file.
273 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
274 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
275 these symbols.
276 * Makefile.am: Remove dependencies on emultempl/mipself.em.
277 * Makefile.in: Regenerate.
278
1502569c
NC
2792004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
280
281 * ld.texinfo (synthesizing on H8/300): Information about linker
282 relaxation support for bit manipulation instructions and system
283 control instructions is added.
284
c894ddfb
HPN
2852004-04-21 Hans-Peter Nilsson <hp@axis.com>
286
287 * NEWS: Mention change in DEFINED semantics.
288
a85bf78e
EB
2892004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
290
291 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
292 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
293 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
294
58434bc1
BE
2952004-04-21 Ben Elliston <bje@au.ibm.com>
296
297 * ld.texinfo (Simple Example): Add missing punctuation.
298
7a7f4e42
CD
2992004-04-20 Chris Demetriou <cgd@broadcom.com>
300
301 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
302
3737f867
JJ
3032004-04-19 Jakub Jelinek <jakub@redhat.com>
304
305 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
306 specially.
307
3c17e4f7
DS
3082004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
309
310 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
311 with default priority. Likewise for dtors.
312
279500de
TS
3132004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
314
315 * configure.host: Remove mips*-dec-bsd* target.
316 * configure.tgt: Likewise.
317
52f89c0a
RS
3182004-04-08 Richard Sandiford <rsandifo@redhat.com>
319
320 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
321 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
322 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
323 * emultempl/irix.em: New file.
324 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
325 dependencies.
326 * Makefile.in: Regenerate.
327
e489d0ae
PB
3282004-04-01 Paul Brook <paul@codesourcery.com>
329
330 * emultempl/armelf.em (byteswap_code): Add.
331 (arm_elf_before_allocation): Pass extra parameter.
332 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
333 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
334 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
335 * emultempl/armelf_oabi.em: Pass extra parameter.
336 * ld.texinfo: Document --be8.
337
7cc8057a
SS
3382004-03-30 Stan Shebs <shebs@apple.com>
339
340 Remove long-obsolete MPW support.
341 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
342 * Makefile.am (mpw): Remove file-presynthesizing actions.
343 * Makefile.in: Likewise.
344 * ldfile.c (slash): Remove MPW case.
345 * ldlex.l [MPW]: Remove unused definition.
346
0949843d
NC
3472004-03-30 Galit Heller <Galit.Heller@nsc.com>
348
349 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
350 (eelf32cr16c.c): New target.
351 * Makefile.in: Regenerate.
352 * configure.tgt: Handle cr16c-*-elf*.
353 * emulparams/elf32cr16c.sh: New file.
354 * scripttempl/elfcr16c.sc: Likewise
355 * NEWS: Mention support for new target.
356
0a159ef8
NC
3572004-03-30 Nick Clifton <nickc@redhat.com>
358
359 * po/sv.po: Updated Swedish translation.
360
7a945db6
AM
3612004-03-27 Alan Modra <amodra@bigpond.net.au>
362
363 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
364 * emultempl/hppaelf.em: Likewise.
365 * emultempl/ppc64elf.em: Likewise.
366 * emultempl/sh64elf.em: Likewise.
367
5a580b3a
AM
3682004-03-25 Alan Modra <amodra@bigpond.net.au>
369
370 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
371 size_dynamic_sections call.
372
b9cf773d
AM
3732004-03-23 Alan Modra <amodra@bigpond.net.au>
374
375 PR 51.
376 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
377 link_info.wrap_char.
378
59c2e50f
L
3792004-03-20 H.J. Lu <hongjiu.lu@intel.com>
380
381 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
382 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
383
44349745
AO
3842004-03-20 Alexandre Oliva <aoliva@redhat.com>
385
386 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
387
81359a70
AM
3882004-03-19 Alan Modra <amodra@bigpond.net.au>
389
390 * config.in: Regenerate.
391 * po/ld.pot: Regenerate.
392
4a43e768
AM
3932004-03-18 Alan Modra <amodra@bigpond.net.au>
394
395 * ld.texinfo: Add --as-needed doco.
396 * ldmain.c (as_needed): New global var.
397 * ldmain.h (as_needed): Declare.
398 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
399 OPTION_NO_AS_NEEDED.
400 (ld_options): Likewise.
401 (parse_args): Handle them.
402 * ldlang.h (lang_input_statement_type): Add as_needed field.
403 * ldlang.c (new_afile): Set p->as_needed.
404 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
405 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
406 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
407
408 * ldlang.c (open_input_bfds): Remove useless cast.
409 (lang_do_assignments_1): Likewise.
410 (lang_for_each_input_section): Delete.
411
9183ed4b
AM
4122004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
413
414 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
415
ee31fbd0
NC
4162004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
417
418 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
419 private when building implib.
420
e5caec89
NS
4212004-03-05 Nathan Sidwell <nathan@codesourcery.com>
422
423 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
424 SEC_THREAD_LOCAL.
425 (IGNORE_SECTION): Ignore .tbss sections too.
426 (lang_size_sections_1): .tbss sections do not advance dot.
427
cc2f008e
AS
4282004-03-01 Andreas Schwab <schwab@suse.de>
429
430 * ld.texinfo (Options): Fix example for --wrap.
431
f5a95868
DS
4322004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
433
434 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
435 not NULL.
436
177b729b
ILT
4372004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
438
439 * ldlang.c (lang_check): Use %P, not %E, in error message.
440
1b493742
NS
4412004-02-23 Nathan Sidwell <nathan@codesourcery.com>
442
443 * ldlang.h (struct lang_output_section_state): Change processed
444 field's type.
445 * ldexp.c (check, invalid): Remove.
446 (fold_name): Move valid_p assignments. Create undefined symbol
447 when needed. Directly exampine section's processd flag.
448 * ldlang.c (lang_output_section_statement_lookup): Adjust
449 processed field init.
450 (lang_size_sections_1): Allow LOADADDR when determining section's
451 VMA. Adjust error message. Fold data statement's expr.
452 (lang_size_sections): Correctly increment lang_statement_iteration.
453
4542004-02-23 Alan Modra <amodra@bigpond.net.au>
455
456 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 457
876f4090
NS
4582004-02-20 Nathan Sidwell <nathan@codesourcery.com>
459
460 * ldgram.y (exp): Add two operand ALIGN.
461 * ldexp.c (fold_binary): Add ALIGN_K case.
462 * ld.texinfo (ALIGN): Document two operand version.
463
384d938f
NS
4642004-02-19 Nathan Sidwell <nathan@codesourcery.com>
465
466 * ldlang.c (map_input_to_output_sections): Initialize sections
467 mentioned in a data statement expression.
468 (lang_do_assignments_1): Add data statement's expression's
469 section's vma.
470
b6ca8815
NS
4712004-02-18 Nathan Sidwell <nathan@codesourcery.com>
472
473 * ldgram.y (statement_anywhere): Add assert rule.
474 * ldlang.c (exp_init_os): Add assert case.
475
c92c35e7
AC
4762004-02-14 Andrew Cagney <cagney@redhat.com>
477
478 * ldmain.c (remove_output): Call bfd_cache_close.
479
9bf78c99
RS
4802004-02-14 Richard Sandiford <rsandifo@redhat.com>
481
482 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
483 .MIPS.content* and .MIPS.events* sections.
484
f3806916
DJ
4852004-02-09 Daniel Jacobowitz <drow@mvista.com>
486
487 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
488 .note.gnu.arm.ident to after allocated sections. Mark its
489 address as 0.
490
4c8e70d7
DJ
4912004-02-09 Daniel Jacobowitz <drow@mvista.com>
492
493 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
494 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
495 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
496 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
497 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
498
ff71f4f7
NC
4992004-02-05 Nick Clifton <nickc@redhat.com>
500
501 * emultempl/pe.em (_after_open): Fix typo in previous delta.
502
07a68a80
NC
5032004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
504
505 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
506
1dd3bf68
AM
5072004-01-28 Alan Modra <amodra@bigpond.net.au>
508
586196d5
AM
509 * genscripts.sh: Fix typo.
510
1dd3bf68
AM
511 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
512
13d9421f
JJ
5132004-01-24 Jakub Jelinek <jakub@redhat.com>
514
515 * emulparams/elf64_ia64.sh: Put .rela.opd into
516 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
517
4d8907ac
DS
5182004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
519
520 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
521 * ld.texinfo (--omagic): Note that writable text section
522 does not conform to published PE-COFF specs.
523 (--enable-auto-import): Likewise.
524
e5c60db5
AM
5252004-01-15 Alan Modra <amodra@bigpond.net.au>
526
527 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
528
6bdafbeb
NC
5292004-01-13 Nick Clifton <nickc@redhat.com>
530
531 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
532 which if true will prevent the LMA region being used as a
533 replacement for a default VMA region.
586196d5
AM
534 (lang_leave_output_section_statement): Pass extra parameter.
535 (lang_leave_overlay): Likewise.
536 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
537 region can be set to the VMA region if no VMA has been set.
538 * ldlang.h (struct lang_output_section_phdr_list): Create a
539 typedef for this type. Minor formatting fixes.
586196d5 540
9dfc8ab2
NC
5412004-01-13 Nick Clifton <nickc@redhat.com>
542
543 * ldlang.c (lang_size_sections_1): If dot is advanced, then
544 assume that the section should be allocated.
545
8325c4dd
AM
5462004-01-13 Alan Modra <amodra@bigpond.net.au>
547
548 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
549 sections. Do ignore SEC_NEVER_LOAD sections.
550 (lang_size_sections_1): Remove test made redundant with the above.
551
83490352
AM
5522004-01-09 Alan Modra <amodra@bigpond.net.au>
553
554 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
555 program_header_size.
556
005e1118
AO
5572004-01-06 Alexandre Oliva <aoliva@redhat.com>
558
559 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
560 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
561 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
562 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
563 (MAXPAGESIZE): Set to 64Kb.
564 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
565 __ROFIXUP_END__. Don't map .rofixup.got any more.
566 * emulparams/elf32frv.sh (NOP): Set.
567 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
568 * configure.tgt: Add frv-*-*linux*.
569 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
570 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
571 (eelf32frvfd.c): New.
572 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
573 * emulparams/elf32frv.sh: Reverted previous two patches.
574 * emulparams/elf32frvfd.sh: New.
575 * Makefile.in: Rebuilt.
576 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
577 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
578 .rofixup.got to .rofixup.
579 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
580 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
581 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
582
060feee5
JJ
5832004-01-05 Jakub Jelinek <jakub@redhat.com>
584
585 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
586 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
587
5e2f1575
AM
5882004-01-03 Alan Modra <amodra@bigpond.net.au>
589
e5caa5e0
AM
590 * ldexp.c (align_n): Make static.
591 * ldexp.h (align_n): Delete declaration.
592 * ldlang.h (lang_enter_output_section_statement): Remove
593 block_value param.
594 * ldlang.c (lang_enter_output_section_statement): Likewise.
595 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 596 (opb_shift): New var.
e5caa5e0
AM
597 (init_opb): New function.
598 (print_input_section): Call init_opb and use TO_ADDR.
599 (print_data_statement, print_reloc_statement): Likewise.
600 (print_padding_statement): Likewise.
c2df3ea5 601 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
602 (lang_check_section_addresses): Likewise.
603 (lang_size_sections_1): Likewise.
604 (lang_do_assignments_1): Likewise.
605 (lang_set_startof): Likewise.
c2df3ea5 606 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 607 (lang_process): Call init_opb.
c2df3ea5 608 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
609 (lang_enter_overlay_section): Adjust
610 lang_enter_output_section_statement call.
611 * ldgram.y: Likewise.
612 * mri.c (mri_draw_tree): Likewise.
613 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
614 * emultempl/mmo.em (mmo_place_orphan): Likewise.
615 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
616
5e2f1575
AM
617 * ldfile.c (ldfile_set_output_arch): Add defarch param.
618 * ldfile.h (ldfile_set_output_arch): Ditto.
619 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
620 ldfile_set_output_arch.
621 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
622 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
623 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
624 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
625 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
626 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
627 * ldgram.y: Adjust ldfile_set_output_arch call.
628 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
629 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
630 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
631 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
632 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
633 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
634 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
635
b50c15dc
NC
6362004-01-02 Bernardo Innocenti <bernie@develer.com>
637
638 * configure.tgt: Add m68k-uClinux target.
6edf0760 639
c9e214e5 640For older changes see ChangeLog-0203
252b5132
RH
641\f
642Local Variables:
643mode: change-log
644left-margin: 8
645fill-column: 74
646version-control: never
647End:
This page took 0.337838 seconds and 4 git commands to generate.