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