1 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
2 H.J. Lu <hongjiu.lu@intel.com>
4 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
6 2014-02-19 Alan Modra <amodra@gmail.com>
8 * emultempl/ppc64elf.em (params): Init new field.
9 (ppc_create_output_section_statements): Set params.save_restore_funcs
11 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
12 --no-save-restore-funcs.
14 2014-02-17 Alan Modra <amodra@gmail.com>
16 * emultemps/ppc64elf.em (params): New static struct replacing
17 various other static vars. Adjust code throughout file.
19 2014-02-17 Alan Modra <amodra@gmail.com>
21 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
22 ppc476 workaround for ld -r.
24 2014-02-12 Alan Modra <amodra@gmail.com>
26 * emultempl/ppc32elf.em (pagesize): New static var.
27 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
28 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
30 2014-02-11 Andrew Pinski <apinski@cavium.com>
32 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
33 (ELF_INTERPRETER_NAME): Define.
34 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
36 2014-02-10 Alan Modra <amodra@gmail.com>
38 * po/ld.pot: Regenerate.
40 2014-02-03 Alan Modra <amodra@gmail.com>
42 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
43 plt_style): Delete. Adjust all refs to instead use..
44 (params): ..this. New variable.
45 (ppc_after_open_output): New function. Tweak params and pass to
47 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
48 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
49 relaxation for ppc476 workaround.
50 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
51 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
53 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
55 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
56 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
57 variable which reflects the VMA change due to alignment
58 requirements. Use dotdelta do change the LMA if
59 ALIGN_WITH_INPUT is requested.
61 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
63 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
64 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
67 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
69 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
70 * Makefile.in: Regenerated.
71 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
72 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
73 * emultempl/nios2elf.em: New file.
74 * gen-doc.texi (NIOSII): Set.
75 * ld.texinfo (NIOSII): Set.
77 2014-01-28 Nick Clifton <nickc@redhat.com>
79 * Makefile.am: Remove obsolete MSP430 emulations.
80 * configure.tgt: Likewise.
81 * emulparams/msp430all.sh: Likewise.
82 * Makefile.in: Regenerate.
84 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
87 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
88 orphaned TLS section handling.
90 2014-01-24 Alan Modra <amodra@gmail.com>
92 * ldlang.c (lang_output_section_find_by_flags): Be careful to
93 test look->bfd_section->flags if available rather than
94 look->flags. Separate SEC_THREAD_LOCAL handling from
95 SEC_READONLY loop, and rewrite.
97 2014-01-22 Alan Modra <amodra@gmail.com>
99 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
100 (lang_init): Initialise them.
101 (lang_print_asneeded): New function.
102 (lang_process): Call lang_print_asneeded.
103 * ldlang.h (struct asneeded_minfo): New.
104 (asneeded_list_tail): Declare.
105 * ldmain.c (add_archive_element): Improve archive map heading.
106 * ldmisc.c (minfo): Stash --as-needed info.
108 2014-01-22 Alan Modra <amodra@gmail.com>
110 * ld.h (struct map_symbol_def): Move to..
112 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
114 2014-01-22 Alan Modra <amodra@gmail.com>
116 * ld.texinfo (Output Section Discarding): Mention assigning to dot
117 as a way of keeping otherwise empty sections.
118 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
119 is_dot_plus_0, is_align_conditional): New predicates.
120 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
121 output section, except for some special cases.
122 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
123 end of .heap and .stack.
125 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
127 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
129 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
131 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
133 2014-01-20 Alan Modra <amodra@gmail.com>
135 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
136 by_script. Make iteration a single bit field.
137 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
138 (lang_symbol_defined): Declare.
139 * ldlang.c (lang_statement_iteration): Expand comment a little.
140 (lang_init <lang_definedness_table>): Make it bigger.
141 (lang_track_definedness, lang_symbol_definition): Delete.
142 (lang_definedness_newfunc): Update.
143 (lang_symbol_defined): New function.
144 (lang_update_definedness): Create entries here. Do track whether
145 script definition of symbol is valid, even when also defined in
147 * ldexp.c (fold_name <DEFINED>): Update.
148 (fold_name <NAME>): Allow self-assignment for absolute symbols
149 defined in a linker script.
151 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
152 Alan Modra <amodra@gmail.com>
154 * ldlang.h (lang_output_section_get): Define.
155 * ldlang.c (lang_output_section_get): Likewise.
156 (init_os): Set the output_section userdata to the output
158 * emultempl/hppaelf.em: Use lang_output_section_get instead of
159 lang_output_section_find where applicable.
160 * emultempl/aarch64elf.em: Likewise.
161 * emultempl/aix.em: Likewise.
162 * emultempl/armelf.em: Likewise.
163 * emultempl/m68hc1xelf.em: Likewise.
164 * emultempl/metagelf.em: Likewise.
165 * emultempl/mipself.em: Likewise.
166 * emultempl/ppc64elf.em: Likewise.
167 * emultempl/spuelf.em: Likewise.
169 2014-01-17 Alan Modra <amodra@gmail.com>
171 * genscripts.sh (COMPILE_IN): Don't set if already set.
172 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
174 * emulparams/nds32elf16m.sh: Likewise.
175 * emulparams/nds32elf_linux.sh: Likewise.
176 * emultempl/aix.em: Test COMPILE_IN value is "yes".
177 * emultempl/armcoff.em: Likewise.
178 * emultempl/elf32.em: Likewise.
179 * emultempl/generic.em: Likewise.
180 * emultempl/gld960.em: Likewise.
181 * emultempl/gld960c.em: Likewise.
182 * emultempl/linux.em: Likewise.
183 * emultempl/lnk960.em: Likewise.
184 * emultempl/m68kcoff.em: Likewise.
185 * emultempl/sunos.em: Likewise.
186 * emultempl/ticoff.em: Likewise.
188 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
191 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
193 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
194 for elf32_x86_64 emulation.
195 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
196 for elf_i386 emulation.
198 2014-01-16 Alan Modra <amodra@gmail.com>
200 * ld.h (fat_section_userdata_type, get_userdata): Move to..
201 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
202 * ldlang.c (init_map_userdata): Delete. Fold into..
203 (sort_def_symbol): ..here. Don't attach input section userdata
204 to output sections or global bfd sections.
205 (lang_map): Don't pre-allocate input section userdata.
206 (init_os): Don't allocate userdata for output sections.
207 (print_all_symbols): Update.
209 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
211 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
212 Silence uninitialized warning on ehdr_start_save with older
215 2014-01-15 Alan Modra <amodra@gmail.com>
217 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
218 __ehdr_start before size_dynamic_sections and restore afterwards.
220 2014-01-10 Alan Modra <amodra@gmail.com>
225 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
226 adjust. Tidy comments.
227 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
229 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
231 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
233 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
238 * ldlang.c (lang_size_sections): Properly align RELRO base.
240 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
242 * ldver.c (ldversion): Update copyright year to 2014.
244 For older changes see ChangeLog-2013
246 Copyright (C) 2014 Free Software Foundation, Inc.
248 Copying and distribution of this file, with or without modification,
249 are permitted in any medium without royalty provided the copyright
250 notice and this notice are preserved.
256 version-control: never