PowerPC64 ELFv2 ABI: structure passing / return
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5446cbdf
AM
12014-02-03 Alan Modra <amodra@gmail.com>
2
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
7 ppc_elf_link_params.
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.
13
13075d04
SH
142014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
15
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.
21
0a09fb4a
HPN
222014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
23
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
26 change.
27
78058a5e
SL
282014-01-30 Sandra Loosemore <sandra@codesourcery.com>
29
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.
37
1ade0651
NC
382014-01-28 Nick Clifton <nickc@redhat.com>
39
40 * Makefile.am: Remove obsolete MSP430 emulations.
41 * configure.tgt: Likewise.
42 * emulparams/msp430all.sh: Likewise.
43 * Makefile.in: Regenerate.
44
d85e71fe
L
452014-01-24 H.J. Lu <hongjiu.lu@intel.com>
46
47 PR ld/16498
48 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
49 orphaned TLS section handling.
50
d9d94ac8
AM
512014-01-24 Alan Modra <amodra@gmail.com>
52
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.
57
16e4ecc0
AM
582014-01-22 Alan Modra <amodra@gmail.com>
59
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.
68
7dd9c6eb
AM
692014-01-22 Alan Modra <amodra@gmail.com>
70
71 * ld.h (struct map_symbol_def): Move to..
72 * ldlang.h: ..here.
73 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
74
2edab91c
AM
752014-01-22 Alan Modra <amodra@gmail.com>
76
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.
85
5a4f2336
MS
862014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
87
88 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
89
30feb358
MS
902014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
91
92 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
93
fa72205c
AM
942014-01-20 Alan Modra <amodra@gmail.com>
95
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
107 an object file.
108 * ldexp.c (fold_name <DEFINED>): Update.
109 (fold_name <NAME>): Allow self-assignment for absolute symbols
110 defined in a linker script.
111
24ef1aa7
GM
1122014-01-20 Guy Martin <gmsoft@tuxicoman.be>
113 Alan Modra <amodra@gmail.com>
114
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
118 section statement.
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.
129
7225345d
AM
1302014-01-17 Alan Modra <amodra@gmail.com>
131
132 * genscripts.sh (COMPILE_IN): Don't set if already set.
133 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
134 COMPILE_IN=no.
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.
148
f6f6c679
L
1492014-01-16 H.J. Lu <hongjiu.lu@intel.com>
150
151 PR ld/16456
152 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
153 suffix.
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.
158
6fcc66ab
AM
1592014-01-16 Alan Modra <amodra@gmail.com>
160
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.
169
f9c316c4
L
1702014-01-15 H.J. Lu <hongjiu.lu@intel.com>
171
172 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
173 Silence uninitialized warning on ehdr_start_save with older
174 GCC.
175
4199e3b8
AM
1762014-01-15 Alan Modra <amodra@gmail.com>
177
178 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
179 __ehdr_start before size_dynamic_sections and restore afterwards.
180
eec2f3ed
AM
1812014-01-10 Alan Modra <amodra@gmail.com>
182
183 PR ld/14207
184 PR ld/16322
185 PR binutils/16323
186 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
187 adjust. Tidy comments.
188 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
189
d1e1519e
HPN
1902014-01-10 Hans-Peter Nilsson <hp@axis.com>
191
192 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
193
43a8475c
L
1942014-01-08 H.J. Lu <hongjiu.lu@intel.com>
195
196 PR ld/14207
197 PR ld/16322
198 PR binutils/16323
199 * ldlang.c (lang_size_sections): Properly align RELRO base.
200
221fd5d5
L
2012014-01-08 H.J. Lu <hongjiu.lu@intel.com>
202
203 * ldver.c (ldversion): Update copyright year to 2014.
204
5fb776a6 205For older changes see ChangeLog-2013
252b5132 206\f
5fb776a6 207Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
208
209Copying and distribution of this file, with or without modification,
210are permitted in any medium without royalty provided the copyright
211notice and this notice are preserved.
212
252b5132
RH
213Local Variables:
214mode: change-log
215left-margin: 8
216fill-column: 74
217version-control: never
218End:
This page took 1.027578 seconds and 4 git commands to generate.