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