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