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