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