* gdb.texinfo (BSD libkvm Interface): New node (section)
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
c87db184
CF
12004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2
3 * ld.texinfo (WIN32): Document PE weak symbols.
4
f6a8ae81
KK
52004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6
7 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
8
b602c853
L
92004-07-01 H.J. Lu <hongjiu.lu@intel.com>
10
11 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
12 the section.
13
1a23a9e6
AM
142004-06-29 Alan Modra <amodra@bigpond.net.au>
15
16 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
17 size in rawsize.
18
eea6121a
AM
192004-06-24 Alan Modra <amodra@bigpond.net.au>
20
21 * ldlang.c (print_output_section_statement): Don't print size before
22 relaxation.
23 (IGNORE_SECTION): Remove bfd arg. Update all callers.
24
25 * ldexp.c (fold_name): .. See below.
26 * ldlang.c (section_already_linked, print_output_section_statement,
27 print_input_section, insert_pad, size_input_section,
28 lang_check_section_addresses, lang_size_sections_1,
29 lang_size_sections, lang_do_assignments_1, lang_set_startof,
30 lang_one_common, lang_reset_memory_regions, lang_process,
31 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
32 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
33 * pe-dll.c (process_def_file, generate_reloc): ..
34 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
35 gld${EMULATION_NAME}_before_allocation): ..
36 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
37 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
38 sh64_elf_${EMULATION_NAME}_after_allocation): ..
39 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
40 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
41 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
42 "size" instead of "_raw_size" and "_cooked_size". Expand
43 bfd_section_size macro invocations.
44
552f8272
CF
452004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
46
47 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
48 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
49 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
50 ___crt_xt_end__.
51 (.tls): Define ___tls_start__ and ___tls_end__.
52
aee6f5b4
AO
532004-06-21 Alexandre Oliva <aoliva@redhat.com>
54
55 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
56
eea6121a 572004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 58
eea6121a
AM
59 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
60 * configure: Regenerate.
f234d5fe 61
dfff4fbe
JJ
622004-06-15 Jakub Jelinek <jakub@redhat.com>
63
64 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
65 .gcc_except_table output sections lost accidentally with
66 -z relro patch.
67
a9e0c0c6
AM
682004-06-15 Alan Modra <amodra@bigpond.net.au>
69
70 * ldwrite.c (build_link_order): Use bfd_get_section_size
71 instead of bfd_get_section_size_before_reloc or _raw_size.
72 * pe-dll.c (process_def_file): Likewise.
73
7115639b
AM
742004-06-14 Alan Modra <amodra@bigpond.net.au>
75
76 From Richard Wirth <r.wirth@wirthware.de>
77 * ldlang.c (lang_finish): Don't free lang_definedness_table.
78
9ca57817
AM
792004-05-29 Alan Modra <amodra@bigpond.net.au>
80
81 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
82 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
83
f6f9408f
JR
842004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
85
86 * testsuite/ld-sh/arch/arch.exp: New test script.
87 * testsuite/ld-sh/arch/arch_expected.txt: New file.
88 * testsuite/ld-sh/arch/sh.s: New file.
89 * testsuite/ld-sh/arch/sh2.s: New file.
90 * testsuite/ld-sh/arch/sh-dsp.s: New file.
91 * testsuite/ld-sh/arch/sh2e.s: New file.
92 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
93 * testsuite/ld-sh/arch/sh3.s: New file.
94 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
95 * testsuite/ld-sh/arch/sh3e.s: New file.
96 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
97 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
98 * testsuite/ld-sh/arch/sh4.s: New file.
99 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
100 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
101 * testsuite/ld-sh/arch/sh4a.s: New file.
102
164e712d
AM
1032004-05-28 Alan Modra <amodra@bigpond.net.au>
104
6feb9908
AM
105 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
106 throughout file.
107 * lexsup.c: Formatting. Wrap long lines.
108 * ldwrite.c: Update copyright date.
109
164e712d
AM
110 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
111 (output_section_callback): Nor SEC_KEEP here.
112 (gc_section_callback): Twiddle SEC_EXCLUDE here.
113 (lang_gc_wild): Delete. Fold into..
114 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
115 collecting.
116 (lang_process): Always call lang_gc_sections.
117 (lang_place_orphans): Handle SEC_EXCLUDE sections.
118 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
119 SEC_EXCLUDE code.
120
b3096250
L
1212004-05-26 H.J. Lu <hongjiu.lu@intel.com>
122
123 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
124 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
125 * ldlang.c (lang_add_section): Likewise.
126
e49f5022
AM
1272004-05-26 Alan Modra <amodra@bigpond.net.au>
128
129 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
130 sections when doing a final link. Clear SEC_EXCLUDE when doing
131 a relocable link, except for SEC_DEBUGGING sections.
132 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
133 same condition here to drop SEC_EXCLUDE orphan sections.
134
57ceae94
AM
1352004-05-25 Alan Modra <amodra@bigpond.net.au>
136
137 * ldlang.c (lang_process): Call bfd_merge_sections later, and
138 only when not a relocatable link.
139 (print_input_section): Handle SEC_EXCLUDE sections.
140 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
141 (lang_do_assignments_1): Likewise.
142 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
143 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
144 * emultempl/hppaelf.em (build_section_lists): Likewise.
145 * emultempl/ppc64elf.em (build_toc_list): Likewise.
146 (build_section_lists): Likewise.
147
a85785bc
AS
1482004-05-23 Andreas Schwab <schwab@suse.de>
149
150 * ld.texinfo (Options): Fix typo in last change.
151
2d643429
NC
1522004-05-21 Andy Chittenden <achittenden@bluearc.com>
153
154 * ld.h (ld_config_type): Add new field: hash_table_size.
155 * ldmain.c: Initialise the new field to zero. If it is non-zero
156 after parsing the linker's command line call
157 bfd_hash_set_default_size.
158 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
159 (ld_options): Add hash-size.
160 (parse_args): Parse --hash-size option. Allow
161 --reduce-memory-overheads to set the default hash table size as
162 well.
163 * ld.texinfo: Document the new switch. Also mention that
164 --reduce-memory-overheads can affect the hash table size.
165 * NEWS: Mention the new feature.
166
35835446
JR
1672004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
168
169 * NEWS: Mention new linker map file generation and the
170 --reduce-memory-overheads option.
171 * ld.texinfo: Document --reduce-memory-overheads option.
172 * ld.h (map_symbol_def): New struct.
173 (struct user_section_struct, section_userdata_type): Rename to:
174 (struct lean_user_section_struct, lean_section_userdata_type).
175 (struct fat_user_section_struct, fat_section_userdata_type): New.
176 (SECTION_USERDATA_SIZE): Define.
177 (args_type): New member reduce_memory_overheads.
178 * ldlang.c (map_obstack): New static variable.
179 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
180 (lang_map): Unless command_line.reduce_memory_overheads is set,
181 initialize lists of defined symbols for each section.
182 (print_input_section): Unless command_line.reduce_memory_overheads
183 is set, use print_all_symbols.
184 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
185 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
186 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
187 (ld_options): Add entry for --reduce-memory-overheads.
188 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
189
0841712e
JJ
1902004-05-19 Jakub Jelinek <jakub@redhat.com>
191
192 * ldgram.y (sect_constraint): New.
193 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
194 (section): Add sect_constraint. Pass additional argument
195 to lang_enter_output_section_statement.
196 * mri.c (mri_draw_tree): Pass additional argument to
197 lang_enter_output_section_statement.
198 * emultempl/pe.em (place_orphan): Likewise.
199 (output_prev_sec_find): Disregard output section statements with
200 constraint == -1.
201 * emultempl/mmo.em (output_prev_sec_find): Likewise.
202 (mmo_place_orphan): Pass additional argument to
203 lang_enter_output_section_statement.
204 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
205 statements with constraint == -1.
206 (place_orphan): Pass additional argument to
207 lang_enter_output_section_statement.
208 * ldlang.c (lang_enter_overlay_section): Likewise.
209 (lang_output_section_find_1): New.
210 (lang_output_section_find): Use it.
211 (lang_output_section_statement_lookup_1): New.
212 (lang_output_section_statement_lookup): Use it.
213 (check_section_callback, check_input_sections): New.
214 (map_input_to_output_sections): Check if all input sections
215 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
216 (strip_excluded_output_sections): Disregard output section statements
217 with constraint == -1.
218 (lang_record_phdrs): Likewise.
219 (lang_enter_output_section_statement): Add constraint argument.
220 Use lang_output_section_statement_lookup_1.
221 * ldlang.h (lang_output_section_statement_type): Add constraint
222 and all_input_readonly fields.
223 (lang_enter_output_section_statement): Adjust prototype.
224 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
225 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
226 segment if all input sections are readonly.
227
eea6121a 2282004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
229
230 * scripttempl/i386lynx.sc: Remove file.
231
2a16d82a
BW
2322004-05-17 Bob Wilson <bob.wilson@acm.org>
233
234 * ld.texinfo (Output Section Address): Correct subsection name.
235
eea6121a 2362004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
237
238 * configure.tgt (powerpc-*-lynxos* case): New case.
239 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
240 * emulparams/ppclynx.sh: New file.
241 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
242 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
243 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
244 (eppclynx.c): New rule.
245 * Makefile.in: Regenerate.
246
4b363073
NC
2472004-05-13 Joel Sherrill <joel@oarcorp.com>
248
249 * configure.tgt (or32-*-rtems*): Switch to elf and
250 support versioned targets.
251
9598fbe5
NC
2522004-05-13 Nick Clifton <nickc@redhat.com>
253
254 * po/fr.po: Updated French translation.
255
8c37241b
JJ
2562004-05-11 Jakub Jelinek <jakub@redhat.com>
257
258 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
259 for binaries, -shared and -pie.
260 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
261 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
262 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
263 (OTHER_RELRO_SECTIONS): ... this.
264 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
265 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
266 -z relro and -z norelro.
267 (gld${EMULATION_NAME}_list_options): Add it to usage.
268 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
269 -z relro scripts when appropriate.
270 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
271 Create separate .got.plt section if SEPARATE_GOTPLT.
272 Move sections which are only written during relocation handling
273 to the beginning of RW segment. If NO_SMALL_DATA, move .got
274 before .data. Add DATA_SEGMENT_RELRO_END directive.
275 Include OTHER_RELRO_SECTIONS.
276 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
277 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
278 (fold_unary): Likewise.
279 (fold_binary): Handle -z relro.
280 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
281 exp_dataseg_relro_adjust phases. Add relro_end field.
282 * ldmain.c (main): Initialize link_info.relro to FALSE.
283 * ldlang.c (lang_size_sections): Handle -z relro.
284
e21059f2
MM
2852004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
286
287 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
288
5f9b8920
JR
2892004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
290
291 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
292 before printing it with %W.
293
26d2d8a2 2942004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 295 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
296
297 * emultempl/pe.em (real_flags): New static.
298 (OPTION_LARGE_ADDRESS_AWARE): New define.
299 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
300 (gld_${EMULATION_NAME}_list_options): Likewise.
301 (gld${EMULATION_NAME}_handle_option): Likewise.
302 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
303 * ld.texinfo: Document it.
304 * NEWS: Mention it.
305
1b169501
BF
3062004-05-07 Brian Ford <ford@vss.fsi.com>
307
308 * NEWS: Mention DWARF 2 support for i386pe.
309
41cf0c62
AO
3102004-05-05 Alexandre Oliva <aoliva@redhat.com>
311
312 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
313 elf32-frvfdpic.
314
d0d6a25b
AM
3152004-04-30 Alan Modra <amodra@bigpond.net.au>
316
317 * ldlang.c (unique_section_p): Pass section parm, return true on
318 group sections.
319 (output_section_callback): Adjust.
320 * ldlang.h (unique_section_p): Update prototype.
321 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
322
755306be
EB
3232004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
324
eea6121a 325 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
326 dynamic linking.
327
8a7140c3
NC
3282004-04-29 Brian Ford <ford@vss.fsi.com>
329
330 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
331 for DWARF 2/3. Update stab section's syntax.
332
2f9636ba
AM
3332004-04-29 Alan Modra <amodra@bigpond.net.au>
334
335 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
336 (fill_edata): Correct pointer arithmetic.
337
23867d67
CD
3382004-04-21 Chris Demetriou <cgd@broadcom.com>
339
340 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
341 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
342 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
343 (EXTRA_EM_FILE): Use mipsecoff.em
344 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
345 (EXTRA_EM_FILE): Use mipsecoff.em
346 * emultempl/mipsecoff.em: Restructure to be included as an
347 extra emulation file.
348 (check_sections, gld${EMULATION_NAME}_after_open)
349 (gld${EMULATION_NAME}_after_allocation)
350 (gld${EMULATION_NAME}_get_script)
351 (ld_${EMULATION_NAME}_emulation): Remove
352 (gld${EMULATION_NAME}_before_parse): Rename to...
353 (mipsecoff_before_parse): This.
354 (LDEMUL_BEFORE_PARSE): Define.
355 * emultempl/mipself.em: Remove file.
356 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
357 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
358 these symbols.
359 * Makefile.am: Remove dependencies on emultempl/mipself.em.
360 * Makefile.in: Regenerate.
361
1502569c
NC
3622004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
363
364 * ld.texinfo (synthesizing on H8/300): Information about linker
365 relaxation support for bit manipulation instructions and system
366 control instructions is added.
367
c894ddfb
HPN
3682004-04-21 Hans-Peter Nilsson <hp@axis.com>
369
370 * NEWS: Mention change in DEFINED semantics.
371
a85bf78e
EB
3722004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
373
374 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
375 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
376 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
377
58434bc1
BE
3782004-04-21 Ben Elliston <bje@au.ibm.com>
379
380 * ld.texinfo (Simple Example): Add missing punctuation.
381
7a7f4e42
CD
3822004-04-20 Chris Demetriou <cgd@broadcom.com>
383
384 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
385
3737f867
JJ
3862004-04-19 Jakub Jelinek <jakub@redhat.com>
387
388 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
389 specially.
390
3c17e4f7
DS
3912004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
392
393 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
394 with default priority. Likewise for dtors.
395
279500de
TS
3962004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
397
398 * configure.host: Remove mips*-dec-bsd* target.
399 * configure.tgt: Likewise.
400
52f89c0a
RS
4012004-04-08 Richard Sandiford <rsandifo@redhat.com>
402
403 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
404 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
405 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
406 * emultempl/irix.em: New file.
407 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
408 dependencies.
409 * Makefile.in: Regenerate.
410
e489d0ae
PB
4112004-04-01 Paul Brook <paul@codesourcery.com>
412
413 * emultempl/armelf.em (byteswap_code): Add.
414 (arm_elf_before_allocation): Pass extra parameter.
415 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
416 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
417 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
418 * emultempl/armelf_oabi.em: Pass extra parameter.
419 * ld.texinfo: Document --be8.
420
7cc8057a
SS
4212004-03-30 Stan Shebs <shebs@apple.com>
422
423 Remove long-obsolete MPW support.
424 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
425 * Makefile.am (mpw): Remove file-presynthesizing actions.
426 * Makefile.in: Likewise.
427 * ldfile.c (slash): Remove MPW case.
428 * ldlex.l [MPW]: Remove unused definition.
429
0949843d
NC
4302004-03-30 Galit Heller <Galit.Heller@nsc.com>
431
432 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
433 (eelf32cr16c.c): New target.
434 * Makefile.in: Regenerate.
435 * configure.tgt: Handle cr16c-*-elf*.
436 * emulparams/elf32cr16c.sh: New file.
437 * scripttempl/elfcr16c.sc: Likewise
438 * NEWS: Mention support for new target.
439
0a159ef8
NC
4402004-03-30 Nick Clifton <nickc@redhat.com>
441
442 * po/sv.po: Updated Swedish translation.
443
7a945db6
AM
4442004-03-27 Alan Modra <amodra@bigpond.net.au>
445
446 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
447 * emultempl/hppaelf.em: Likewise.
448 * emultempl/ppc64elf.em: Likewise.
449 * emultempl/sh64elf.em: Likewise.
450
5a580b3a
AM
4512004-03-25 Alan Modra <amodra@bigpond.net.au>
452
453 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
454 size_dynamic_sections call.
455
b9cf773d
AM
4562004-03-23 Alan Modra <amodra@bigpond.net.au>
457
458 PR 51.
459 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
460 link_info.wrap_char.
461
59c2e50f
L
4622004-03-20 H.J. Lu <hongjiu.lu@intel.com>
463
464 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
465 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
466
44349745
AO
4672004-03-20 Alexandre Oliva <aoliva@redhat.com>
468
469 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
470
81359a70
AM
4712004-03-19 Alan Modra <amodra@bigpond.net.au>
472
473 * config.in: Regenerate.
474 * po/ld.pot: Regenerate.
475
4a43e768
AM
4762004-03-18 Alan Modra <amodra@bigpond.net.au>
477
478 * ld.texinfo: Add --as-needed doco.
479 * ldmain.c (as_needed): New global var.
480 * ldmain.h (as_needed): Declare.
481 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
482 OPTION_NO_AS_NEEDED.
483 (ld_options): Likewise.
484 (parse_args): Handle them.
485 * ldlang.h (lang_input_statement_type): Add as_needed field.
486 * ldlang.c (new_afile): Set p->as_needed.
487 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
488 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
489 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
490
491 * ldlang.c (open_input_bfds): Remove useless cast.
492 (lang_do_assignments_1): Likewise.
493 (lang_for_each_input_section): Delete.
494
9183ed4b
AM
4952004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
496
497 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
498
ee31fbd0
NC
4992004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
500
501 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
502 private when building implib.
503
e5caec89
NS
5042004-03-05 Nathan Sidwell <nathan@codesourcery.com>
505
506 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
507 SEC_THREAD_LOCAL.
508 (IGNORE_SECTION): Ignore .tbss sections too.
509 (lang_size_sections_1): .tbss sections do not advance dot.
510
cc2f008e
AS
5112004-03-01 Andreas Schwab <schwab@suse.de>
512
513 * ld.texinfo (Options): Fix example for --wrap.
514
f5a95868
DS
5152004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
516
517 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
518 not NULL.
519
177b729b
ILT
5202004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
521
522 * ldlang.c (lang_check): Use %P, not %E, in error message.
523
1b493742
NS
5242004-02-23 Nathan Sidwell <nathan@codesourcery.com>
525
526 * ldlang.h (struct lang_output_section_state): Change processed
527 field's type.
528 * ldexp.c (check, invalid): Remove.
529 (fold_name): Move valid_p assignments. Create undefined symbol
530 when needed. Directly exampine section's processd flag.
531 * ldlang.c (lang_output_section_statement_lookup): Adjust
532 processed field init.
533 (lang_size_sections_1): Allow LOADADDR when determining section's
534 VMA. Adjust error message. Fold data statement's expr.
535 (lang_size_sections): Correctly increment lang_statement_iteration.
536
5372004-02-23 Alan Modra <amodra@bigpond.net.au>
538
539 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 540
876f4090
NS
5412004-02-20 Nathan Sidwell <nathan@codesourcery.com>
542
543 * ldgram.y (exp): Add two operand ALIGN.
544 * ldexp.c (fold_binary): Add ALIGN_K case.
545 * ld.texinfo (ALIGN): Document two operand version.
546
384d938f
NS
5472004-02-19 Nathan Sidwell <nathan@codesourcery.com>
548
549 * ldlang.c (map_input_to_output_sections): Initialize sections
550 mentioned in a data statement expression.
551 (lang_do_assignments_1): Add data statement's expression's
552 section's vma.
553
b6ca8815
NS
5542004-02-18 Nathan Sidwell <nathan@codesourcery.com>
555
556 * ldgram.y (statement_anywhere): Add assert rule.
557 * ldlang.c (exp_init_os): Add assert case.
558
c92c35e7
AC
5592004-02-14 Andrew Cagney <cagney@redhat.com>
560
561 * ldmain.c (remove_output): Call bfd_cache_close.
562
9bf78c99
RS
5632004-02-14 Richard Sandiford <rsandifo@redhat.com>
564
565 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
566 .MIPS.content* and .MIPS.events* sections.
567
f3806916
DJ
5682004-02-09 Daniel Jacobowitz <drow@mvista.com>
569
570 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
571 .note.gnu.arm.ident to after allocated sections. Mark its
572 address as 0.
573
4c8e70d7
DJ
5742004-02-09 Daniel Jacobowitz <drow@mvista.com>
575
576 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
577 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
578 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
579 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
580 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
581
ff71f4f7
NC
5822004-02-05 Nick Clifton <nickc@redhat.com>
583
584 * emultempl/pe.em (_after_open): Fix typo in previous delta.
585
07a68a80
NC
5862004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
587
588 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
589
1dd3bf68
AM
5902004-01-28 Alan Modra <amodra@bigpond.net.au>
591
586196d5
AM
592 * genscripts.sh: Fix typo.
593
1dd3bf68
AM
594 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
595
13d9421f
JJ
5962004-01-24 Jakub Jelinek <jakub@redhat.com>
597
598 * emulparams/elf64_ia64.sh: Put .rela.opd into
599 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
600
4d8907ac
DS
6012004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
602
603 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
604 * ld.texinfo (--omagic): Note that writable text section
605 does not conform to published PE-COFF specs.
606 (--enable-auto-import): Likewise.
607
e5c60db5
AM
6082004-01-15 Alan Modra <amodra@bigpond.net.au>
609
610 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
611
6bdafbeb
NC
6122004-01-13 Nick Clifton <nickc@redhat.com>
613
614 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
615 which if true will prevent the LMA region being used as a
616 replacement for a default VMA region.
586196d5
AM
617 (lang_leave_output_section_statement): Pass extra parameter.
618 (lang_leave_overlay): Likewise.
619 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
620 region can be set to the VMA region if no VMA has been set.
621 * ldlang.h (struct lang_output_section_phdr_list): Create a
622 typedef for this type. Minor formatting fixes.
586196d5 623
9dfc8ab2
NC
6242004-01-13 Nick Clifton <nickc@redhat.com>
625
626 * ldlang.c (lang_size_sections_1): If dot is advanced, then
627 assume that the section should be allocated.
628
8325c4dd
AM
6292004-01-13 Alan Modra <amodra@bigpond.net.au>
630
631 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
632 sections. Do ignore SEC_NEVER_LOAD sections.
633 (lang_size_sections_1): Remove test made redundant with the above.
634
83490352
AM
6352004-01-09 Alan Modra <amodra@bigpond.net.au>
636
637 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
638 program_header_size.
639
005e1118
AO
6402004-01-06 Alexandre Oliva <aoliva@redhat.com>
641
642 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
643 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
644 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
645 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
646 (MAXPAGESIZE): Set to 64Kb.
647 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
648 __ROFIXUP_END__. Don't map .rofixup.got any more.
649 * emulparams/elf32frv.sh (NOP): Set.
650 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
651 * configure.tgt: Add frv-*-*linux*.
652 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
653 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
654 (eelf32frvfd.c): New.
655 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
656 * emulparams/elf32frv.sh: Reverted previous two patches.
657 * emulparams/elf32frvfd.sh: New.
658 * Makefile.in: Rebuilt.
659 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
660 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
661 .rofixup.got to .rofixup.
662 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
663 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
664 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
665
060feee5
JJ
6662004-01-05 Jakub Jelinek <jakub@redhat.com>
667
668 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
669 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
670
5e2f1575
AM
6712004-01-03 Alan Modra <amodra@bigpond.net.au>
672
e5caa5e0
AM
673 * ldexp.c (align_n): Make static.
674 * ldexp.h (align_n): Delete declaration.
675 * ldlang.h (lang_enter_output_section_statement): Remove
676 block_value param.
677 * ldlang.c (lang_enter_output_section_statement): Likewise.
678 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 679 (opb_shift): New var.
e5caa5e0
AM
680 (init_opb): New function.
681 (print_input_section): Call init_opb and use TO_ADDR.
682 (print_data_statement, print_reloc_statement): Likewise.
683 (print_padding_statement): Likewise.
c2df3ea5 684 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
685 (lang_check_section_addresses): Likewise.
686 (lang_size_sections_1): Likewise.
687 (lang_do_assignments_1): Likewise.
688 (lang_set_startof): Likewise.
c2df3ea5 689 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 690 (lang_process): Call init_opb.
c2df3ea5 691 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
692 (lang_enter_overlay_section): Adjust
693 lang_enter_output_section_statement call.
694 * ldgram.y: Likewise.
695 * mri.c (mri_draw_tree): Likewise.
696 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
697 * emultempl/mmo.em (mmo_place_orphan): Likewise.
698 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
699
5e2f1575
AM
700 * ldfile.c (ldfile_set_output_arch): Add defarch param.
701 * ldfile.h (ldfile_set_output_arch): Ditto.
702 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
703 ldfile_set_output_arch.
704 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
705 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
706 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
707 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
708 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
709 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
710 * ldgram.y: Adjust ldfile_set_output_arch call.
711 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
712 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
713 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
714 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
715 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
716 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
717 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
718
b50c15dc
NC
7192004-01-02 Bernardo Innocenti <bernie@develer.com>
720
721 * configure.tgt: Add m68k-uClinux target.
6edf0760 722
c9e214e5 723For older changes see ChangeLog-0203
252b5132
RH
724\f
725Local Variables:
726mode: change-log
727left-margin: 8
728fill-column: 74
729version-control: never
730End:
This page took 0.382529 seconds and 4 git commands to generate.