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