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