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