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