1 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
3 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
4 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
7 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
9 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
10 * Makefile.in: Regenerated.
11 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
12 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
13 * emultempl/nios2elf.em: New file.
14 * gen-doc.texi (NIOSII): Set.
15 * ld.texinfo (NIOSII): Set.
17 2014-01-28 Nick Clifton <nickc@redhat.com>
19 * Makefile.am: Remove obsolete MSP430 emulations.
20 * configure.tgt: Likewise.
21 * emulparams/msp430all.sh: Likewise.
22 * Makefile.in: Regenerate.
24 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
27 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
28 orphaned TLS section handling.
30 2014-01-24 Alan Modra <amodra@gmail.com>
32 * ldlang.c (lang_output_section_find_by_flags): Be careful to
33 test look->bfd_section->flags if available rather than
34 look->flags. Separate SEC_THREAD_LOCAL handling from
35 SEC_READONLY loop, and rewrite.
37 2014-01-22 Alan Modra <amodra@gmail.com>
39 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
40 (lang_init): Initialise them.
41 (lang_print_asneeded): New function.
42 (lang_process): Call lang_print_asneeded.
43 * ldlang.h (struct asneeded_minfo): New.
44 (asneeded_list_tail): Declare.
45 * ldmain.c (add_archive_element): Improve archive map heading.
46 * ldmisc.c (minfo): Stash --as-needed info.
48 2014-01-22 Alan Modra <amodra@gmail.com>
50 * ld.h (struct map_symbol_def): Move to..
52 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
54 2014-01-22 Alan Modra <amodra@gmail.com>
56 * ld.texinfo (Output Section Discarding): Mention assigning to dot
57 as a way of keeping otherwise empty sections.
58 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
59 is_dot_plus_0, is_align_conditional): New predicates.
60 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
61 output section, except for some special cases.
62 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
63 end of .heap and .stack.
65 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
67 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
69 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
71 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
73 2014-01-20 Alan Modra <amodra@gmail.com>
75 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
76 by_script. Make iteration a single bit field.
77 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
78 (lang_symbol_defined): Declare.
79 * ldlang.c (lang_statement_iteration): Expand comment a little.
80 (lang_init <lang_definedness_table>): Make it bigger.
81 (lang_track_definedness, lang_symbol_definition): Delete.
82 (lang_definedness_newfunc): Update.
83 (lang_symbol_defined): New function.
84 (lang_update_definedness): Create entries here. Do track whether
85 script definition of symbol is valid, even when also defined in
87 * ldexp.c (fold_name <DEFINED>): Update.
88 (fold_name <NAME>): Allow self-assignment for absolute symbols
89 defined in a linker script.
91 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
92 Alan Modra <amodra@gmail.com>
94 * ldlang.h (lang_output_section_get): Define.
95 * ldlang.c (lang_output_section_get): Likewise.
96 (init_os): Set the output_section userdata to the output
98 * emultempl/hppaelf.em: Use lang_output_section_get instead of
99 lang_output_section_find where applicable.
100 * emultempl/aarch64elf.em: Likewise.
101 * emultempl/aix.em: Likewise.
102 * emultempl/armelf.em: Likewise.
103 * emultempl/m68hc1xelf.em: Likewise.
104 * emultempl/metagelf.em: Likewise.
105 * emultempl/mipself.em: Likewise.
106 * emultempl/ppc64elf.em: Likewise.
107 * emultempl/spuelf.em: Likewise.
109 2014-01-17 Alan Modra <amodra@gmail.com>
111 * genscripts.sh (COMPILE_IN): Don't set if already set.
112 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
114 * emulparams/nds32elf16m.sh: Likewise.
115 * emulparams/nds32elf_linux.sh: Likewise.
116 * emultempl/aix.em: Test COMPILE_IN value is "yes".
117 * emultempl/armcoff.em: Likewise.
118 * emultempl/elf32.em: Likewise.
119 * emultempl/generic.em: Likewise.
120 * emultempl/gld960.em: Likewise.
121 * emultempl/gld960c.em: Likewise.
122 * emultempl/linux.em: Likewise.
123 * emultempl/lnk960.em: Likewise.
124 * emultempl/m68kcoff.em: Likewise.
125 * emultempl/sunos.em: Likewise.
126 * emultempl/ticoff.em: Likewise.
128 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
131 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
133 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
134 for elf32_x86_64 emulation.
135 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
136 for elf_i386 emulation.
138 2014-01-16 Alan Modra <amodra@gmail.com>
140 * ld.h (fat_section_userdata_type, get_userdata): Move to..
141 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
142 * ldlang.c (init_map_userdata): Delete. Fold into..
143 (sort_def_symbol): ..here. Don't attach input section userdata
144 to output sections or global bfd sections.
145 (lang_map): Don't pre-allocate input section userdata.
146 (init_os): Don't allocate userdata for output sections.
147 (print_all_symbols): Update.
149 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
151 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
152 Silence uninitialized warning on ehdr_start_save with older
155 2014-01-15 Alan Modra <amodra@gmail.com>
157 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
158 __ehdr_start before size_dynamic_sections and restore afterwards.
160 2014-01-10 Alan Modra <amodra@gmail.com>
165 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
166 adjust. Tidy comments.
167 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
169 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
171 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
173 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
178 * ldlang.c (lang_size_sections): Properly align RELRO base.
180 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
182 * ldver.c (ldversion): Update copyright year to 2014.
184 For older changes see ChangeLog-2013
186 Copyright (C) 2014 Free Software Foundation, Inc.
188 Copying and distribution of this file, with or without modification,
189 are permitted in any medium without royalty provided the copyright
190 notice and this notice are preserved.
196 version-control: never