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