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