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