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