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