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