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