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