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