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