* elf32-xtensa.c (is_same_value): Add final_static_link argument and
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1502569c
NC
12004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2
3 * ld.texinfo (synthesizing on H8/300): Information about linker
4 relaxation support for bit manipulation instructions and system
5 control instructions is added.
6
c894ddfb
HPN
72004-04-21 Hans-Peter Nilsson <hp@axis.com>
8
9 * NEWS: Mention change in DEFINED semantics.
10
a85bf78e
EB
112004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
12
13 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
14 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
15 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
16
58434bc1
BE
172004-04-21 Ben Elliston <bje@au.ibm.com>
18
19 * ld.texinfo (Simple Example): Add missing punctuation.
20
7a7f4e42
CD
212004-04-20 Chris Demetriou <cgd@broadcom.com>
22
23 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
24
3737f867
JJ
252004-04-19 Jakub Jelinek <jakub@redhat.com>
26
27 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
28 specially.
29
3c17e4f7
DS
302004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
31
32 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
33 with default priority. Likewise for dtors.
34
279500de
TS
352004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
36
37 * configure.host: Remove mips*-dec-bsd* target.
38 * configure.tgt: Likewise.
39
52f89c0a
RS
402004-04-08 Richard Sandiford <rsandifo@redhat.com>
41
42 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
43 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
44 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
45 * emultempl/irix.em: New file.
46 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
47 dependencies.
48 * Makefile.in: Regenerate.
49
e489d0ae
PB
502004-04-01 Paul Brook <paul@codesourcery.com>
51
52 * emultempl/armelf.em (byteswap_code): Add.
53 (arm_elf_before_allocation): Pass extra parameter.
54 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
55 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
56 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
57 * emultempl/armelf_oabi.em: Pass extra parameter.
58 * ld.texinfo: Document --be8.
59
7cc8057a
SS
602004-03-30 Stan Shebs <shebs@apple.com>
61
62 Remove long-obsolete MPW support.
63 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
64 * Makefile.am (mpw): Remove file-presynthesizing actions.
65 * Makefile.in: Likewise.
66 * ldfile.c (slash): Remove MPW case.
67 * ldlex.l [MPW]: Remove unused definition.
68
0949843d
NC
692004-03-30 Galit Heller <Galit.Heller@nsc.com>
70
71 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
72 (eelf32cr16c.c): New target.
73 * Makefile.in: Regenerate.
74 * configure.tgt: Handle cr16c-*-elf*.
75 * emulparams/elf32cr16c.sh: New file.
76 * scripttempl/elfcr16c.sc: Likewise
77 * NEWS: Mention support for new target.
78
0a159ef8
NC
792004-03-30 Nick Clifton <nickc@redhat.com>
80
81 * po/sv.po: Updated Swedish translation.
82
7a945db6
AM
832004-03-27 Alan Modra <amodra@bigpond.net.au>
84
85 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
86 * emultempl/hppaelf.em: Likewise.
87 * emultempl/ppc64elf.em: Likewise.
88 * emultempl/sh64elf.em: Likewise.
89
5a580b3a
AM
902004-03-25 Alan Modra <amodra@bigpond.net.au>
91
92 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
93 size_dynamic_sections call.
94
b9cf773d
AM
952004-03-23 Alan Modra <amodra@bigpond.net.au>
96
97 PR 51.
98 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
99 link_info.wrap_char.
100
59c2e50f
L
1012004-03-20 H.J. Lu <hongjiu.lu@intel.com>
102
103 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
104 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
105
44349745
AO
1062004-03-20 Alexandre Oliva <aoliva@redhat.com>
107
108 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
109
81359a70
AM
1102004-03-19 Alan Modra <amodra@bigpond.net.au>
111
112 * config.in: Regenerate.
113 * po/ld.pot: Regenerate.
114
4a43e768
AM
1152004-03-18 Alan Modra <amodra@bigpond.net.au>
116
117 * ld.texinfo: Add --as-needed doco.
118 * ldmain.c (as_needed): New global var.
119 * ldmain.h (as_needed): Declare.
120 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
121 OPTION_NO_AS_NEEDED.
122 (ld_options): Likewise.
123 (parse_args): Handle them.
124 * ldlang.h (lang_input_statement_type): Add as_needed field.
125 * ldlang.c (new_afile): Set p->as_needed.
126 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
127 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
128 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
129
130 * ldlang.c (open_input_bfds): Remove useless cast.
131 (lang_do_assignments_1): Likewise.
132 (lang_for_each_input_section): Delete.
133
9183ed4b
AM
1342004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
135
136 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
137
ee31fbd0
NC
1382004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
139
140 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
141 private when building implib.
142
e5caec89
NS
1432004-03-05 Nathan Sidwell <nathan@codesourcery.com>
144
145 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
146 SEC_THREAD_LOCAL.
147 (IGNORE_SECTION): Ignore .tbss sections too.
148 (lang_size_sections_1): .tbss sections do not advance dot.
149
cc2f008e
AS
1502004-03-01 Andreas Schwab <schwab@suse.de>
151
152 * ld.texinfo (Options): Fix example for --wrap.
153
f5a95868
DS
1542004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
155
156 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
157 not NULL.
158
177b729b
ILT
1592004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
160
161 * ldlang.c (lang_check): Use %P, not %E, in error message.
162
1b493742
NS
1632004-02-23 Nathan Sidwell <nathan@codesourcery.com>
164
165 * ldlang.h (struct lang_output_section_state): Change processed
166 field's type.
167 * ldexp.c (check, invalid): Remove.
168 (fold_name): Move valid_p assignments. Create undefined symbol
169 when needed. Directly exampine section's processd flag.
170 * ldlang.c (lang_output_section_statement_lookup): Adjust
171 processed field init.
172 (lang_size_sections_1): Allow LOADADDR when determining section's
173 VMA. Adjust error message. Fold data statement's expr.
174 (lang_size_sections): Correctly increment lang_statement_iteration.
175
1762004-02-23 Alan Modra <amodra@bigpond.net.au>
177
178 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 179
876f4090
NS
1802004-02-20 Nathan Sidwell <nathan@codesourcery.com>
181
182 * ldgram.y (exp): Add two operand ALIGN.
183 * ldexp.c (fold_binary): Add ALIGN_K case.
184 * ld.texinfo (ALIGN): Document two operand version.
185
384d938f
NS
1862004-02-19 Nathan Sidwell <nathan@codesourcery.com>
187
188 * ldlang.c (map_input_to_output_sections): Initialize sections
189 mentioned in a data statement expression.
190 (lang_do_assignments_1): Add data statement's expression's
191 section's vma.
192
b6ca8815
NS
1932004-02-18 Nathan Sidwell <nathan@codesourcery.com>
194
195 * ldgram.y (statement_anywhere): Add assert rule.
196 * ldlang.c (exp_init_os): Add assert case.
197
c92c35e7
AC
1982004-02-14 Andrew Cagney <cagney@redhat.com>
199
200 * ldmain.c (remove_output): Call bfd_cache_close.
201
9bf78c99
RS
2022004-02-14 Richard Sandiford <rsandifo@redhat.com>
203
204 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
205 .MIPS.content* and .MIPS.events* sections.
206
f3806916
DJ
2072004-02-09 Daniel Jacobowitz <drow@mvista.com>
208
209 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
210 .note.gnu.arm.ident to after allocated sections. Mark its
211 address as 0.
212
4c8e70d7
DJ
2132004-02-09 Daniel Jacobowitz <drow@mvista.com>
214
215 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
216 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
217 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
218 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
219 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
220
ff71f4f7
NC
2212004-02-05 Nick Clifton <nickc@redhat.com>
222
223 * emultempl/pe.em (_after_open): Fix typo in previous delta.
224
07a68a80
NC
2252004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
226
227 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
228
1dd3bf68
AM
2292004-01-28 Alan Modra <amodra@bigpond.net.au>
230
586196d5
AM
231 * genscripts.sh: Fix typo.
232
1dd3bf68
AM
233 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
234
13d9421f
JJ
2352004-01-24 Jakub Jelinek <jakub@redhat.com>
236
237 * emulparams/elf64_ia64.sh: Put .rela.opd into
238 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
239
4d8907ac
DS
2402004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
241
242 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
243 * ld.texinfo (--omagic): Note that writable text section
244 does not conform to published PE-COFF specs.
245 (--enable-auto-import): Likewise.
246
e5c60db5
AM
2472004-01-15 Alan Modra <amodra@bigpond.net.au>
248
249 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
250
6bdafbeb
NC
2512004-01-13 Nick Clifton <nickc@redhat.com>
252
253 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
254 which if true will prevent the LMA region being used as a
255 replacement for a default VMA region.
586196d5
AM
256 (lang_leave_output_section_statement): Pass extra parameter.
257 (lang_leave_overlay): Likewise.
258 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
259 region can be set to the VMA region if no VMA has been set.
260 * ldlang.h (struct lang_output_section_phdr_list): Create a
261 typedef for this type. Minor formatting fixes.
586196d5 262
9dfc8ab2
NC
2632004-01-13 Nick Clifton <nickc@redhat.com>
264
265 * ldlang.c (lang_size_sections_1): If dot is advanced, then
266 assume that the section should be allocated.
267
8325c4dd
AM
2682004-01-13 Alan Modra <amodra@bigpond.net.au>
269
270 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
271 sections. Do ignore SEC_NEVER_LOAD sections.
272 (lang_size_sections_1): Remove test made redundant with the above.
273
83490352
AM
2742004-01-09 Alan Modra <amodra@bigpond.net.au>
275
276 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
277 program_header_size.
278
005e1118
AO
2792004-01-06 Alexandre Oliva <aoliva@redhat.com>
280
281 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
282 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
283 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
284 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
285 (MAXPAGESIZE): Set to 64Kb.
286 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
287 __ROFIXUP_END__. Don't map .rofixup.got any more.
288 * emulparams/elf32frv.sh (NOP): Set.
289 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
290 * configure.tgt: Add frv-*-*linux*.
291 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
292 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
293 (eelf32frvfd.c): New.
294 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
295 * emulparams/elf32frv.sh: Reverted previous two patches.
296 * emulparams/elf32frvfd.sh: New.
297 * Makefile.in: Rebuilt.
298 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
299 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
300 .rofixup.got to .rofixup.
301 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
302 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
303 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
304
060feee5
JJ
3052004-01-05 Jakub Jelinek <jakub@redhat.com>
306
307 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
308 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
309
5e2f1575
AM
3102004-01-03 Alan Modra <amodra@bigpond.net.au>
311
e5caa5e0
AM
312 * ldexp.c (align_n): Make static.
313 * ldexp.h (align_n): Delete declaration.
314 * ldlang.h (lang_enter_output_section_statement): Remove
315 block_value param.
316 * ldlang.c (lang_enter_output_section_statement): Likewise.
317 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 318 (opb_shift): New var.
e5caa5e0
AM
319 (init_opb): New function.
320 (print_input_section): Call init_opb and use TO_ADDR.
321 (print_data_statement, print_reloc_statement): Likewise.
322 (print_padding_statement): Likewise.
c2df3ea5 323 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
324 (lang_check_section_addresses): Likewise.
325 (lang_size_sections_1): Likewise.
326 (lang_do_assignments_1): Likewise.
327 (lang_set_startof): Likewise.
c2df3ea5 328 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 329 (lang_process): Call init_opb.
c2df3ea5 330 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
331 (lang_enter_overlay_section): Adjust
332 lang_enter_output_section_statement call.
333 * ldgram.y: Likewise.
334 * mri.c (mri_draw_tree): Likewise.
335 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
336 * emultempl/mmo.em (mmo_place_orphan): Likewise.
337 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
338
5e2f1575
AM
339 * ldfile.c (ldfile_set_output_arch): Add defarch param.
340 * ldfile.h (ldfile_set_output_arch): Ditto.
341 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
342 ldfile_set_output_arch.
343 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
344 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
345 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
346 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
347 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
348 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
349 * ldgram.y: Adjust ldfile_set_output_arch call.
350 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
351 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
352 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
353 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
354 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
355 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
356 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
357
b50c15dc
NC
3582004-01-02 Bernardo Innocenti <bernie@develer.com>
359
360 * configure.tgt: Add m68k-uClinux target.
6edf0760 361
c9e214e5 362For older changes see ChangeLog-0203
252b5132
RH
363\f
364Local Variables:
365mode: change-log
366left-margin: 8
367fill-column: 74
368version-control: never
369End:
This page took 0.310931 seconds and 4 git commands to generate.