Check incompatible existing default symbol definition
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5a4f2336
MS
12014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
2
3 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
4
30feb358
MS
52014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
6
7 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
8
fa72205c
AM
92014-01-20 Alan Modra <amodra@gmail.com>
10
11 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
12 by_script. Make iteration a single bit field.
13 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
14 (lang_symbol_defined): Declare.
15 * ldlang.c (lang_statement_iteration): Expand comment a little.
16 (lang_init <lang_definedness_table>): Make it bigger.
17 (lang_track_definedness, lang_symbol_definition): Delete.
18 (lang_definedness_newfunc): Update.
19 (lang_symbol_defined): New function.
20 (lang_update_definedness): Create entries here. Do track whether
21 script definition of symbol is valid, even when also defined in
22 an object file.
23 * ldexp.c (fold_name <DEFINED>): Update.
24 (fold_name <NAME>): Allow self-assignment for absolute symbols
25 defined in a linker script.
26
24ef1aa7
GM
272014-01-20 Guy Martin <gmsoft@tuxicoman.be>
28 Alan Modra <amodra@gmail.com>
29
30 * ldlang.h (lang_output_section_get): Define.
31 * ldlang.c (lang_output_section_get): Likewise.
32 (init_os): Set the output_section userdata to the output
33 section statement.
34 * emultempl/hppaelf.em: Use lang_output_section_get instead of
35 lang_output_section_find where applicable.
36 * emultempl/aarch64elf.em: Likewise.
37 * emultempl/aix.em: Likewise.
38 * emultempl/armelf.em: Likewise.
39 * emultempl/m68hc1xelf.em: Likewise.
40 * emultempl/metagelf.em: Likewise.
41 * emultempl/mipself.em: Likewise.
42 * emultempl/ppc64elf.em: Likewise.
43 * emultempl/spuelf.em: Likewise.
44
7225345d
AM
452014-01-17 Alan Modra <amodra@gmail.com>
46
47 * genscripts.sh (COMPILE_IN): Don't set if already set.
48 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
49 COMPILE_IN=no.
50 * emulparams/nds32elf16m.sh: Likewise.
51 * emulparams/nds32elf_linux.sh: Likewise.
52 * emultempl/aix.em: Test COMPILE_IN value is "yes".
53 * emultempl/armcoff.em: Likewise.
54 * emultempl/elf32.em: Likewise.
55 * emultempl/generic.em: Likewise.
56 * emultempl/gld960.em: Likewise.
57 * emultempl/gld960c.em: Likewise.
58 * emultempl/linux.em: Likewise.
59 * emultempl/lnk960.em: Likewise.
60 * emultempl/m68kcoff.em: Likewise.
61 * emultempl/sunos.em: Likewise.
62 * emultempl/ticoff.em: Likewise.
63
f6f6c679
L
642014-01-16 H.J. Lu <hongjiu.lu@intel.com>
65
66 PR ld/16456
67 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
68 suffix.
69 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
70 for elf32_x86_64 emulation.
71 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
72 for elf_i386 emulation.
73
6fcc66ab
AM
742014-01-16 Alan Modra <amodra@gmail.com>
75
76 * ld.h (fat_section_userdata_type, get_userdata): Move to..
77 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
78 * ldlang.c (init_map_userdata): Delete. Fold into..
79 (sort_def_symbol): ..here. Don't attach input section userdata
80 to output sections or global bfd sections.
81 (lang_map): Don't pre-allocate input section userdata.
82 (init_os): Don't allocate userdata for output sections.
83 (print_all_symbols): Update.
84
f9c316c4
L
852014-01-15 H.J. Lu <hongjiu.lu@intel.com>
86
87 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
88 Silence uninitialized warning on ehdr_start_save with older
89 GCC.
90
4199e3b8
AM
912014-01-15 Alan Modra <amodra@gmail.com>
92
93 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
94 __ehdr_start before size_dynamic_sections and restore afterwards.
95
eec2f3ed
AM
962014-01-10 Alan Modra <amodra@gmail.com>
97
98 PR ld/14207
99 PR ld/16322
100 PR binutils/16323
101 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
102 adjust. Tidy comments.
103 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
104
d1e1519e
HPN
1052014-01-10 Hans-Peter Nilsson <hp@axis.com>
106
107 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
108
43a8475c
L
1092014-01-08 H.J. Lu <hongjiu.lu@intel.com>
110
111 PR ld/14207
112 PR ld/16322
113 PR binutils/16323
114 * ldlang.c (lang_size_sections): Properly align RELRO base.
115
221fd5d5
L
1162014-01-08 H.J. Lu <hongjiu.lu@intel.com>
117
118 * ldver.c (ldversion): Update copyright year to 2014.
119
5fb776a6 120For older changes see ChangeLog-2013
252b5132 121\f
5fb776a6 122Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
123
124Copying and distribution of this file, with or without modification,
125are permitted in any medium without royalty provided the copyright
126notice and this notice are preserved.
127
252b5132
RH
128Local Variables:
129mode: change-log
130left-margin: 8
131fill-column: 74
132version-control: never
133End:
This page took 0.894714 seconds and 4 git commands to generate.