* Makefile.am: Run "make dep-am".
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4a43e768
AM
12004-03-18 Alan Modra <amodra@bigpond.net.au>
2
3 * ld.texinfo: Add --as-needed doco.
4 * ldmain.c (as_needed): New global var.
5 * ldmain.h (as_needed): Declare.
6 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
7 OPTION_NO_AS_NEEDED.
8 (ld_options): Likewise.
9 (parse_args): Handle them.
10 * ldlang.h (lang_input_statement_type): Add as_needed field.
11 * ldlang.c (new_afile): Set p->as_needed.
12 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
13 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
14 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
15
16 * ldlang.c (open_input_bfds): Remove useless cast.
17 (lang_do_assignments_1): Likewise.
18 (lang_for_each_input_section): Delete.
19
9183ed4b
AM
202004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
21
22 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
23
ee31fbd0
NC
242004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
25
26 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
27 private when building implib.
28
e5caec89
NS
292004-03-05 Nathan Sidwell <nathan@codesourcery.com>
30
31 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
32 SEC_THREAD_LOCAL.
33 (IGNORE_SECTION): Ignore .tbss sections too.
34 (lang_size_sections_1): .tbss sections do not advance dot.
35
cc2f008e
AS
362004-03-01 Andreas Schwab <schwab@suse.de>
37
38 * ld.texinfo (Options): Fix example for --wrap.
39
f5a95868
DS
402004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
41
42 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
43 not NULL.
44
177b729b
ILT
452004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
46
47 * ldlang.c (lang_check): Use %P, not %E, in error message.
48
1b493742
NS
492004-02-23 Nathan Sidwell <nathan@codesourcery.com>
50
51 * ldlang.h (struct lang_output_section_state): Change processed
52 field's type.
53 * ldexp.c (check, invalid): Remove.
54 (fold_name): Move valid_p assignments. Create undefined symbol
55 when needed. Directly exampine section's processd flag.
56 * ldlang.c (lang_output_section_statement_lookup): Adjust
57 processed field init.
58 (lang_size_sections_1): Allow LOADADDR when determining section's
59 VMA. Adjust error message. Fold data statement's expr.
60 (lang_size_sections): Correctly increment lang_statement_iteration.
61
622004-02-23 Alan Modra <amodra@bigpond.net.au>
63
64 * ldexp.c (fold_tree): Follow indirect symbols.
65
876f4090
NS
662004-02-20 Nathan Sidwell <nathan@codesourcery.com>
67
68 * ldgram.y (exp): Add two operand ALIGN.
69 * ldexp.c (fold_binary): Add ALIGN_K case.
70 * ld.texinfo (ALIGN): Document two operand version.
71
384d938f
NS
722004-02-19 Nathan Sidwell <nathan@codesourcery.com>
73
74 * ldlang.c (map_input_to_output_sections): Initialize sections
75 mentioned in a data statement expression.
76 (lang_do_assignments_1): Add data statement's expression's
77 section's vma.
78
b6ca8815
NS
792004-02-18 Nathan Sidwell <nathan@codesourcery.com>
80
81 * ldgram.y (statement_anywhere): Add assert rule.
82 * ldlang.c (exp_init_os): Add assert case.
83
c92c35e7
AC
842004-02-14 Andrew Cagney <cagney@redhat.com>
85
86 * ldmain.c (remove_output): Call bfd_cache_close.
87
9bf78c99
RS
882004-02-14 Richard Sandiford <rsandifo@redhat.com>
89
90 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
91 .MIPS.content* and .MIPS.events* sections.
92
f3806916
DJ
932004-02-09 Daniel Jacobowitz <drow@mvista.com>
94
95 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
96 .note.gnu.arm.ident to after allocated sections. Mark its
97 address as 0.
98
4c8e70d7
DJ
992004-02-09 Daniel Jacobowitz <drow@mvista.com>
100
101 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
102 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
103 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
104 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
105 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
106
ff71f4f7
NC
1072004-02-05 Nick Clifton <nickc@redhat.com>
108
109 * emultempl/pe.em (_after_open): Fix typo in previous delta.
110
07a68a80
NC
1112004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
112
113 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
114
1dd3bf68
AM
1152004-01-28 Alan Modra <amodra@bigpond.net.au>
116
586196d5
AM
117 * genscripts.sh: Fix typo.
118
1dd3bf68
AM
119 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
120
13d9421f
JJ
1212004-01-24 Jakub Jelinek <jakub@redhat.com>
122
123 * emulparams/elf64_ia64.sh: Put .rela.opd into
124 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
125
4d8907ac
DS
1262004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
127
128 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
129 * ld.texinfo (--omagic): Note that writable text section
130 does not conform to published PE-COFF specs.
131 (--enable-auto-import): Likewise.
132
e5c60db5
AM
1332004-01-15 Alan Modra <amodra@bigpond.net.au>
134
135 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
136
6bdafbeb
NC
1372004-01-13 Nick Clifton <nickc@redhat.com>
138
139 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
140 which if true will prevent the LMA region being used as a
141 replacement for a default VMA region.
586196d5
AM
142 (lang_leave_output_section_statement): Pass extra parameter.
143 (lang_leave_overlay): Likewise.
144 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
145 region can be set to the VMA region if no VMA has been set.
146 * ldlang.h (struct lang_output_section_phdr_list): Create a
147 typedef for this type. Minor formatting fixes.
586196d5 148
9dfc8ab2
NC
1492004-01-13 Nick Clifton <nickc@redhat.com>
150
151 * ldlang.c (lang_size_sections_1): If dot is advanced, then
152 assume that the section should be allocated.
153
8325c4dd
AM
1542004-01-13 Alan Modra <amodra@bigpond.net.au>
155
156 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
157 sections. Do ignore SEC_NEVER_LOAD sections.
158 (lang_size_sections_1): Remove test made redundant with the above.
159
83490352
AM
1602004-01-09 Alan Modra <amodra@bigpond.net.au>
161
162 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
163 program_header_size.
164
005e1118
AO
1652004-01-06 Alexandre Oliva <aoliva@redhat.com>
166
167 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
168 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
169 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
170 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
171 (MAXPAGESIZE): Set to 64Kb.
172 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
173 __ROFIXUP_END__. Don't map .rofixup.got any more.
174 * emulparams/elf32frv.sh (NOP): Set.
175 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
176 * configure.tgt: Add frv-*-*linux*.
177 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
178 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
179 (eelf32frvfd.c): New.
180 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
181 * emulparams/elf32frv.sh: Reverted previous two patches.
182 * emulparams/elf32frvfd.sh: New.
183 * Makefile.in: Rebuilt.
184 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
185 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
186 .rofixup.got to .rofixup.
187 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
188 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
189 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
190
060feee5
JJ
1912004-01-05 Jakub Jelinek <jakub@redhat.com>
192
193 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
194 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
195
5e2f1575
AM
1962004-01-03 Alan Modra <amodra@bigpond.net.au>
197
e5caa5e0
AM
198 * ldexp.c (align_n): Make static.
199 * ldexp.h (align_n): Delete declaration.
200 * ldlang.h (lang_enter_output_section_statement): Remove
201 block_value param.
202 * ldlang.c (lang_enter_output_section_statement): Likewise.
203 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 204 (opb_shift): New var.
e5caa5e0
AM
205 (init_opb): New function.
206 (print_input_section): Call init_opb and use TO_ADDR.
207 (print_data_statement, print_reloc_statement): Likewise.
208 (print_padding_statement): Likewise.
c2df3ea5 209 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
210 (lang_check_section_addresses): Likewise.
211 (lang_size_sections_1): Likewise.
212 (lang_do_assignments_1): Likewise.
213 (lang_set_startof): Likewise.
c2df3ea5 214 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 215 (lang_process): Call init_opb.
c2df3ea5 216 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
217 (lang_enter_overlay_section): Adjust
218 lang_enter_output_section_statement call.
219 * ldgram.y: Likewise.
220 * mri.c (mri_draw_tree): Likewise.
221 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
222 * emultempl/mmo.em (mmo_place_orphan): Likewise.
223 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
224
5e2f1575
AM
225 * ldfile.c (ldfile_set_output_arch): Add defarch param.
226 * ldfile.h (ldfile_set_output_arch): Ditto.
227 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
228 ldfile_set_output_arch.
229 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
230 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
231 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
232 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
233 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
234 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
235 * ldgram.y: Adjust ldfile_set_output_arch call.
236 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
237 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
238 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
239 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
240 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
241 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
242 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
243
b50c15dc
NC
2442004-01-02 Bernardo Innocenti <bernie@develer.com>
245
246 * configure.tgt: Add m68k-uClinux target.
6edf0760 247
c9e214e5 248For older changes see ChangeLog-0203
252b5132
RH
249\f
250Local Variables:
251mode: change-log
252left-margin: 8
253fill-column: 74
254version-control: never
255End:
This page took 0.334204 seconds and 4 git commands to generate.