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