1 2010-03-15 Alan Modra <amodra@gmail.com>
3 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
4 (ppc_before_allocation): Call sort_toc_sections.
5 (no_toc_sort, OPTION_NO_TOC_SORT): New.
6 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
7 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
9 2010-03-14 Alan Modra <amodra@gmail.com>
12 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
13 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
15 2010-03-11 George Gensure <werkt0@gmail.com>
18 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
20 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
22 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
24 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
25 (eelf32_sparc_sol2.c): New rule.
26 (eelf64_sparc_sol2.c): Likewise.
27 (eelf_x86_64_sol2.c): Likewise.
28 (eelf_i386_sol2.c): Likewise.
29 * Makefile.in: Regenerate.
30 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
32 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
33 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
34 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
35 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
36 Add target_extra_emuls.
37 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
38 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
39 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
40 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
41 * emulparams/elf32_sparc_sol2.sh: New file.
42 * emulparams/elf64_sparc_sol2.sh: New file.
43 * emulparams/elf_i386_sol2.sh: New file.
44 * emulparams/elf_x86_64_sol2.sh: New file.
45 * emultempl/solaris2.em: New file.
47 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
50 * ld.texinfo: Replace explicitely with explicitly.
52 2010-02-27 Jie Zhang <jie@codesourcery.com>
54 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
55 .fini_array.* when do relocatable linking.
56 * scripttempl/elf.sc: Likewise.
57 * scripttempl/elf32sh-symbian.sc: Likewise.
58 * scripttempl/elf64hppa.sc: Likewise.
59 * scripttempl/elfxtensa.sc: Likewise.
61 2010-02-26 Alan Modra <amodra@gmail.com>
63 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
65 * scripttempl/armbpabi.sc: Likewise.
66 * scripttempl/elf32sh-symbian.sc: Likewise.
67 * scripttempl/elf64hppa.sc: Likewise.
68 * scripttempl/elfxtensa.sc: Likewise.
70 2010-02-25 Alan Modra <amodra@gmail.com>
73 * ldlang.c (init_os): Remove isec param. Don't check for
74 bfd_section already set or call bfd_init_private_section_data
76 (exp_init_os): Update init_os call.
77 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
78 flags. Call bfd_init_private_section_data here.
79 (map_input_to_output_sections): Tidy. Update init_os calls.
80 Use os->sectype to select sec flags for lang_data_statement.
82 2010-02-23 Alan Modra <amodra@gmail.com>
85 * ldlang.c: Revert last patch.
87 2010-02-23 Nick Clifton <nickc@redhat.com>
89 * po/bg.po: Updated Bulgarian translation.
91 2010-02-22 Alan Modra <amodra@gmail.com>
94 * ldlang.c (exp_init_os): Delete forward declaration.
95 (init_os): Don't check for bfd_section already created and don't
96 init addr_tree and load_base expressions here.
97 (map_input_to_output_sections): Only map input to output sections
98 and set constraints here, and as an exception, create output
99 sections which have their address set. Move all the other code to..
100 (create_other_output_sections): ..here. New function. Handle init
101 of addr_tree and load_base here too.
102 (lang_process): Call create_other_output_sections.
104 2010-02-19 Alan Modra <amodra@gmail.com>
106 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
107 * Makefile.in: Regenerate.
109 2010-02-19 Alan Modra <amodra@gmail.com>
111 * ldlang.c (unique_section_p): Add os param. Allow group
112 sections to match /DISCARD/. Update all callers.
113 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
114 (LDEMUL_BEFORE_ALLOCATION): Define.
116 2010-02-15 Nick Clifton <nickc@redhat.com>
118 * po/vi.po: Updated Vietnamese translation.
120 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
122 * Makefile.am (CFILES): Add ldlex-wrapper.c.
123 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
124 (ldlex.o): Replace with...
125 (ldlex-wrapper.o): ...this new rule.
126 (EXTRA_ld_new_SOURCES): Add ldlex.l.
127 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
128 * Makefile.in: Regenerate.
129 * ldlex.l (sysdep.h): Don't include here.
130 * ldlex-wrapper.c: New file.
132 2010-02-09 Alan Modra <amodra@gmail.com>
134 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
137 2010-02-05 Nick Clifton <nickc@redhat.com>
139 * configure.in (ALL_LIBGUAS): Add bg.
140 * configure: Regenerate.
141 * po/bg.po: New Bulgarian translation.
143 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
145 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
146 --target1-abs and --target1-rel options.
148 2010-02-03 Nick Clifton <nickc@redhat.com>
150 * emultempl/alphaelf.em: Update value expected from elf_object_id.
151 * emultempl/hppaelf.em: Likewise.
152 * emultempl/mipself.em: Likewise.
153 * emultempl/ppc32elf.em: Likewise.
154 * emultempl/ppc64elf.em: Likewise.
156 2010-02-03 Alan Modra <amodra@gmail.com>
158 * emultempl/ppc64elf.em (build_toc_list): Report errors from
159 ppc64_elf_next_toc_section.
160 (after_allocation): Update for changed function names and params.
161 Run second pass of multitoc partitioning.
163 2010-01-21 Jon Grant <jg@jguk.org>
164 Nick Clifton <nickc@redhat.com>
167 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
168 a missing file or library. Instead mark the entry as missing and
169 set the global flag to indicate that missing files were
171 * ldlang.c (missing_files): New exported variable.
172 (load_symbols): Skip loading if the file is missing.
173 (open_input_bfds): Terminate link if any input files were
175 * ldlang.h (struct lang_input_statement_struct): Add missing_file
177 Add export of missing_file variable.
179 2010-01-13 DJ Delorie <dj@redhat.com>
181 * emultempl/elf32.em (_place_orphan): If an input section doesn't
182 match an existing output section, but an unused output section
183 statement does match, use it.
184 * emultempl/pe.em (_place_orphan): Likewise.
185 * emultempl/pep.em (_place_orphan): Likewise.
187 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
189 * configure: Regenerate.
190 * Makefile.in: Regenerate.
192 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
194 * ldver.c (ldversion): Change to "Copyright 2010".
196 2010-01-08 Alan Modra <amodra@gmail.com>
199 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
201 For older changes see ChangeLog-2009
207 version-control: never