]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
* elflink.c (elf_link_add_object_symbols): Don't create .tcommon
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8ded5a0f
AM
12006-06-20 Alan Modra <amodra@bigpond.net.au>
2
3 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
4 many ELF emul file deps that incorrectly said they needed elf32.em
5 instead of generic.em. Add genelf.em as required.
6 * Makefile.in: Regenerate.
7 * ldlang.c (lang_process): Call ldemul_finish before
8 lang_check_section_addresses.
9 * emulparams/arcelf.sh: Generic elf target needs genelf.
10 * emulparams/d30v_e.sh: Likewise.
11 * emulparams/d30v_o.sh: Likewise.
12 * emulparams/d30velf.sh: Likewise.
13 * emulparams/elf32_dlx.sh: Likewise.
14 * emulparams/elf32_i860.sh: Likewise.
15 * emulparams/elf32fr30.sh: Likewise.
16 * emulparams/elf32frv.sh: Likewise.
17 * emulparams/elf32iq10.sh: Likewise.
18 * emulparams/elf32iq2000.sh: Likewise.
19 * emulparams/elf32mt.sh: Likewise.
20 * emulparams/mn10200.sh: Likewise.
21 * emulparams/or32.sh: Likewise.
22 * emulparams/or32elf.sh: Likewise.
23 * emulparams/pjelf.sh: Likewise.
24 * emulparams/msp430all.sh: Likewise. Extract common entries.
25 * emulparams/pjlelf.sh: Include pjelf.sh.
26 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
27 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
28 * emultempl/elf-generic.em: New file.
29 * emultempl/genelf.em: New file.
30 * emultempl/elf32.em: Include elf-generic.em.
31 (gld${EMULATION_NAME}_layout_sections_again): Delete.
32 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
33 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
34 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
35 gld${EMULATION_NAME}_map_segments.
36 (LDEMUL_FINISH): Update.
37 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
38 source elf-generic.em.
39 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
40 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
41 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
42 gld${EMULATION_NAME}_map_segments.
43 (LDEMUL_FINISH): Update.
44
a6b96beb
AM
452006-06-19 Alan Modra <amodra@bigpond.net.au>
46
47 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
48
5fa222e4
AM
492006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
50
51 * ld.texinfo: Document new -z lazy option.
52 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
53 new option.
54 (gld${EMULATION_NAME}_list_options): Update help text.
55
ce28273f
FF
562006-06-12 Fred Fish <fnf@specifix.com>
57
58 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
59 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
60 generated by mips gcc.
61
7fd91fe0
TS
622006-06-12 Thiemo Seufer <ths@mips.com>
63
64 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
65 Define.
66
409d7240
AM
672006-06-09 Alan Modra <amodra@bigpond.net.au>
68
69 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
70 * ldlang.c (struct out_section_hash_entry): Rename from
71 output_statement_hash_entry. Delete output_section_statement_type
72 entry. Add statement_union_type entry. Adjust all users.
73 (output_section_statement_table): Rename from output_statement_table.
74 Adjust all users.
75 (output_section_statement_newfunc): Rename from
76 output_statement_newfunc. Adjust all users.
77 (output_section_statement_table_init): Rename from
78 output_statement_table_init. Adjust all users.
79 (output_section_statement_table_free): Rename from
80 output_statement_table_free. Adjust all users.
81
6648b7cf
JM
822006-06-07 Joseph S. Myers <joseph@codesourcery.com>
83
84 * po/Make-in (pdf, ps): New dummy targets.
85
02a38f92
AM
862006-06-07 Alan Modra <amodra@bigpond.net.au>
87
88 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
89 info_section and overlay_section. Add noalloc_section.
90 * ldlang.c (lang_add_section): Adjust.
91 * ldgram.y (type): Adjust.
92
e0f6802f
AM
932006-06-06 Alan Modra <amodra@bigpond.net.au>
94
95 * ldlang.c (init_os): Whitespace.
96 (map_input_to_output_sections): Don't init_os for lang_input_section.
97 (print_all_symbols): Remove forward declaration. Convert to ISO C.
98
4cfe2c59
DJ
992006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
100
101 * po/Make-in (top_builddir): Define.
102
65ede3f4
AM
1032006-06-05 Alan Modra <amodra@bigpond.net.au>
104
105 * ldexp.c (exp_get_abs_int): Make error message the same as
106 others emitted in this file.
107
8c61c153
AM
1082006-06-05 Alan Modra <amodra@bigpond.net.au>
109
110 * config.in: Regenerate.
111
87aa7f19
AM
1122006-06-05 Alan Modra <amodra@bigpond.net.au>
113
114 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
115
e13629bc
AM
1162006-06-03 Alan Modra <amodra@bigpond.net.au>
117
118 * emultempl/elf32.em (global_found): Make it a pointer.
119 (stat_needed, try_needed): Adjust.
120 (check_needed): Don't skip non-loaded as-needed entries. Only
121 consider entries with both filename and the_bfd non-null.
122 (after_open): Try loading non-loaded as-needed libs to satisfy
123 DT_NEEDED libs.
124
e10fad12
JM
1252006-06-02 Joseph S. Myers <joseph@codesourcery.com>
126
127 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
128 * Makefile.in: Regenerate.
129
20e95c23
DJ
1302006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
131
132 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
133 and LIBINTL_DEP everywhere.
134 (INTLLIBS): Remove.
135 (INCLUDES): Use @INCINTL@.
136 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
137 Remove local code for po/Makefile.
138 * Makefile.in, configure: Regenerated.
139
24718e3b
L
1402006-05-30 H.J. Lu <hongjiu.lu@intel.com>
141
142 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
143 "CONSTANT (MAXPAGESIZE)".
144 * emulparams/armelf_nbsd.sh: Likewise.
145 * emulparams/armelf_vxworks.sh: Likewise.
146 * emulparams/armnto.sh: Likewise.
147 * emulparams/armsymbian.sh: Likewise.
148 * emulparams/crislinux.sh: Likewise.
149 * emulparams/elf32_i860.sh: Likewise.
150 * emulparams/elf32_i960.sh: Likewise.
151 * emulparams/elf32am33lin.sh: Likewise.
152 * emulparams/elf32bfinfd.sh: Likewise.
153 * emulparams/elf32bmipn32-defs.sh: Likewise.
154 * emulparams/elf32frvfd.sh: Likewise.
155 * emulparams/elf32i370.sh: Likewise.
156 * emulparams/elf32lppcnto.sh: Likewise.
157 * emulparams/elf32mcore.sh: Likewise.
158 * emulparams/elf32openrisc.sh: Likewise.
159 * emulparams/elf32ppcnto.sh: Likewise.
160 * emulparams/elf32ppcwindiss.sh: Likewise.
161 * emulparams/elf32vax.sh: Likewise.
162 * emulparams/elf32xc16x.sh: Likewise.
163 * emulparams/elf32xc16xl.sh: Likewise.
164 * emulparams/elf32xc16xs.sh: Likewise.
165 * emulparams/elf64_aix.sh: Likewise.
166 * emulparams/elf64hppa.sh: Likewise.
167 * emulparams/elf64mmix.sh: Likewise.
168 * emulparams/elf_i386_be.sh: Likewise.
169 * emulparams/elf_i386_chaos.sh: Likewise.
170 * emulparams/elf_i386_ldso.sh: Likewise.
171 * emulparams/hppa64linux.sh: Likewise.
172 * emulparams/hppalinux.sh: Likewise.
173 * emulparams/hppaobsd.sh: Likewise.
174 * emulparams/i386lynx.sh: Likewise.
175 * emulparams/i386moss.sh: Likewise.
176 * emulparams/i386nto.sh: Likewise.
177 * emulparams/i386nw.sh: Likewise.
178 * emulparams/m32relf_linux.sh: Likewise.
179 * emulparams/m68kpsos.sh: Likewise.
180 * emulparams/or32elf.sh: Likewise.
181 * emulparams/pjelf.sh: Likewise.
182 * emulparams/pjlelf.sh: Likewise.
183 * emulparams/ppclynx.sh: Likewise.
184 * emulparams/ppcnw.sh: Likewise.
185 * emulparams/shelf32_nbsd.sh : Likewise.
186 * emulparams/shelf_nbsd.sh: Likewise.
187 * emulparams/shelf_nto.sh: Likewise.
188 * emulparams/shlelf_nto.sh: Likewise.
189 * emulparams/xtensa-config.sh: Likewise.
190
191 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
192 "CONSTANT (MAXPAGESIZE)".
193 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
194 * emulparams/elf32_sparc.sh: Likewise.
195 * emulparams/elf32bmip.sh: Likewise.
196 * emulparams/elf32ppccommon.sh: Likewise.
197 * emulparams/elf64_ia64.sh: Likewise.
198 * emulparams/elf64_s390.sh: Likewise.
199 * emulparams/elf64_sparc.sh: Likewise.
200 * emulparams/elf64alpha.sh: Likewise.
201 * emulparams/elf64ppc.sh: Likewise.
202 * emulparams/elf_i386.sh: Likewise.
203 * emulparams/elf_i386_vxworks.sh: Likewise.
204 * emulparams/elf_s390.sh: Likewise.
205 * emulparams/elf_x86_64.sh: Likewise.
206 * emulparams/shlelf32_linux.sh: Likewise.
207 * emulparams/shlelf_linux.sh: Likewise.
208
209 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
210 "CONSTANT (COMMONPAGESIZE)".
211 * emulparams/elf32btsmipn32.sh: Likewise.
212
213 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
214 "-z max-page-size=" and "-z common-page-size=".
215 (gld${EMULATION_NAME}_list_options): Likewise.
216
217 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
218
219 * ld.texinfo: Document "-z max-page-size=" and
220 "-z common-page-size=".
221
222 * ldexp.c (exp_print_token): Handle CONSTANT.
223 (fold_name): Likewise.
224 * ldgram.y: Likewise.
225 * ldlex.l: Likewise.
226
227 * ldmain.c (main): Initiliaze config.maxpagesize and
228 config.commonpagesize. Call bfd_emul_set_maxpagesize if
229 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
230 config.commonpagesize config.maxpagesize isn't 0.
231
eebf07fb
NC
2322006-05-30 Nick Clifton <nickc@redhat.com>
233
234 * po/es.po: Updated Spanish translation.
235
f7661549
L
2362006-05-25 H.J. Lu <hongjiu.lu@intel.com>
237
238 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
239
314e9a4e
L
2402006-05-24 H.J. Lu <hongjiu.lu@intel.com>
241
242 PR ld/1485
243 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
244 bfd. Support 64bit host for --enable-targets=all.
245 * configure: Regenerated.
246
4a4d496a
NC
2472006-05-24 Nick Clifton <nickc@redhat.com>
248
249 * po/vi.po: Updated Vietnamese translation.
250
28c9d252
NC
2512006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
252
253 * configure.tgt: Add avr6 to emulation list.
254 * Makefile.am: Add eavr6.o and corresponding rule.
255 * Makefile.in: Regenerate.
256 * emulparams/avr6.sh: New file.
257 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
258 for target option support.
259 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
260 * scripttempl/avr.sc: Add ".trampolines" section.
261 * emultempl/avrelf.em: Add new file for target specific options.
262
b7309ada
NC
2632006-05-22 Nick Clifton <nickc@redhat.com>
264
265 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
266
f0636a44
AM
2672006-05-19 Alan Modra <amodra@bigpond.net.au>
268
269 * ldlang.c (lang_size_sections_1): Don't check mem regions for
270 os->ignored sections.
271
f86a8756
DJ
2722005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
273
274 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
275 before redoing one_lang_size_sections_pass.
276
370b66a1
CD
2772006-05-11 Carlos O'Donell <carlos@codesourcery.com>
278
279 * ld.texinfo: Rename "Index" to "LD Index"
280
53baae48
NC
2812006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
282
283 * pe-dll.c (autofilter_symbollist): Add Dllmain,
284 DllMainCRTStartup, _DllMainCRTStartup and .text.
285 (autofilter_liblist): Add libcegcc.
286 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
287 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
288 they can still contain relocs that need processing.
289 Skip the .idata$6 section.
290 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
291 (make_one): Use the new array.
292 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
293 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
294
2a60a7a8
AM
2952006-05-05 Alan Modra <amodra@bigpond.net.au>
296
297 * ld.texinfo: Document PowerPC and PowerPC64 options.
298 * gen-doc.texi: Enable.
299
38fc1cb1
DJ
3002006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
301
302 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
303 (TEXI2POD): Use AM_MAKEINFOFLAGS.
304 (configdoc.texi): Don't set top_srcdir.
305 * ld.texinfo: Don't use top_srcdir.
306 * aclocal.m4, Makefile.in: Regenerated.
307
241a6c40
AM
3082006-04-19 Alan Modra <amodra@bigpond.net.au>
309
abe6ac95
AM
310 * ldlang.c (wild): Tidy default_common_section loop.
311 (print_input_section): Format.
312
241a6c40
AM
313 * configure: Regenerate.
314
e7403566
DJ
3152006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
316
317 * po/POTFILES.in: Regenerated.
318
b030a24e
DJ
3192006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
320
321 * config.in: Regenerated.
322
a255b6c7
BW
3232006-04-14 David Heine <dlheine@tensilica.com>
324 Bob Wilson <bob.wilson@acm.org>
325
326 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
327 function to strip inconsistent linkonce sections.
328 (input_section_linked_worker, input_section_linked): New.
329 (is_inconsistent_linkonce_section): New.
330 (xtensa_strip_inconsistent_linkonce_sections): New.
331
ebe1fac1
NC
332