1 2014-01-22 Alan Modra <amodra@gmail.com>
3 * ld.h (struct map_symbol_def): Move to..
5 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
7 2014-01-22 Alan Modra <amodra@gmail.com>
9 * ld.texinfo (Output Section Discarding): Mention assigning to dot
10 as a way of keeping otherwise empty sections.
11 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
12 is_dot_plus_0, is_align_conditional): New predicates.
13 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
14 output section, except for some special cases.
15 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
16 end of .heap and .stack.
18 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
20 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
22 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
24 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
26 2014-01-20 Alan Modra <amodra@gmail.com>
28 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
29 by_script. Make iteration a single bit field.
30 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
31 (lang_symbol_defined): Declare.
32 * ldlang.c (lang_statement_iteration): Expand comment a little.
33 (lang_init <lang_definedness_table>): Make it bigger.
34 (lang_track_definedness, lang_symbol_definition): Delete.
35 (lang_definedness_newfunc): Update.
36 (lang_symbol_defined): New function.
37 (lang_update_definedness): Create entries here. Do track whether
38 script definition of symbol is valid, even when also defined in
40 * ldexp.c (fold_name <DEFINED>): Update.
41 (fold_name <NAME>): Allow self-assignment for absolute symbols
42 defined in a linker script.
44 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
45 Alan Modra <amodra@gmail.com>
47 * ldlang.h (lang_output_section_get): Define.
48 * ldlang.c (lang_output_section_get): Likewise.
49 (init_os): Set the output_section userdata to the output
51 * emultempl/hppaelf.em: Use lang_output_section_get instead of
52 lang_output_section_find where applicable.
53 * emultempl/aarch64elf.em: Likewise.
54 * emultempl/aix.em: Likewise.
55 * emultempl/armelf.em: Likewise.
56 * emultempl/m68hc1xelf.em: Likewise.
57 * emultempl/metagelf.em: Likewise.
58 * emultempl/mipself.em: Likewise.
59 * emultempl/ppc64elf.em: Likewise.
60 * emultempl/spuelf.em: Likewise.
62 2014-01-17 Alan Modra <amodra@gmail.com>
64 * genscripts.sh (COMPILE_IN): Don't set if already set.
65 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
67 * emulparams/nds32elf16m.sh: Likewise.
68 * emulparams/nds32elf_linux.sh: Likewise.
69 * emultempl/aix.em: Test COMPILE_IN value is "yes".
70 * emultempl/armcoff.em: Likewise.
71 * emultempl/elf32.em: Likewise.
72 * emultempl/generic.em: Likewise.
73 * emultempl/gld960.em: Likewise.
74 * emultempl/gld960c.em: Likewise.
75 * emultempl/linux.em: Likewise.
76 * emultempl/lnk960.em: Likewise.
77 * emultempl/m68kcoff.em: Likewise.
78 * emultempl/sunos.em: Likewise.
79 * emultempl/ticoff.em: Likewise.
81 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
84 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
86 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
87 for elf32_x86_64 emulation.
88 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
89 for elf_i386 emulation.
91 2014-01-16 Alan Modra <amodra@gmail.com>
93 * ld.h (fat_section_userdata_type, get_userdata): Move to..
94 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
95 * ldlang.c (init_map_userdata): Delete. Fold into..
96 (sort_def_symbol): ..here. Don't attach input section userdata
97 to output sections or global bfd sections.
98 (lang_map): Don't pre-allocate input section userdata.
99 (init_os): Don't allocate userdata for output sections.
100 (print_all_symbols): Update.
102 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
104 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
105 Silence uninitialized warning on ehdr_start_save with older
108 2014-01-15 Alan Modra <amodra@gmail.com>
110 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
111 __ehdr_start before size_dynamic_sections and restore afterwards.
113 2014-01-10 Alan Modra <amodra@gmail.com>
118 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
119 adjust. Tidy comments.
120 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
122 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
124 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
126 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
131 * ldlang.c (lang_size_sections): Properly align RELRO base.
133 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
135 * ldver.c (ldversion): Update copyright year to 2014.
137 For older changes see ChangeLog-2013
139 Copyright (C) 2014 Free Software Foundation, Inc.
141 Copying and distribution of this file, with or without modification,
142 are permitted in any medium without royalty provided the copyright
143 notice and this notice are preserved.
149 version-control: never