]>
Commit | Line | Data |
---|---|---|
1d5b29cf L |
1 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format | |
4 | if plugin isn't active or there is no thing more to claim. | |
5 | ||
e13419c4 L |
6 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
7 | ||
8 | * plugin.c (plugin_maybe_claim): Check format against bfd_object | |
9 | directly. | |
10 | ||
93843894 L |
11 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
12 | ||
13 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with | |
14 | ibfd. | |
15 | ||
35a1e5f3 L |
16 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
17 | ||
18 | * plugin.c: Include "libbfd.h". | |
19 | (plugin_strdup): New. | |
20 | (plugin_maybe_claim): Remove the argument of pointer to struct | |
21 | ld_plugin_input_file. Open and handle input entry. | |
22 | * plugin.h (plugin_maybe_claim): Updated. | |
23 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly | |
24 | without passing a pointer to struct ld_plugin_input_file. | |
25 | * ldmain.c: Don't include "libbfd.h". | |
26 | (add_archive_element): Call plugin_maybe_claim directly without | |
27 | passing a pointer to struct ld_plugin_input_file. | |
28 | ||
8dfef1bd L |
29 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
30 | ||
31 | * ld.texinfo: Document -z text, -z notext and -z textoff. | |
32 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add | |
33 | -z text, -z notext and -z textoff. | |
34 | ||
2aec968d L |
35 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
36 | ||
37 | * configure.ac: Add AC_FUNC_MMAP. | |
38 | * config.in: Regenerated. | |
39 | * configure: Likewise. | |
40 | * plugin.c: Include <sys/mman.h>. | |
41 | (MAP_FAILED): New. Defined if not defined. | |
42 | (PROT_READ): Likewise. | |
43 | (MAP_PRIVATE): Likewise. | |
44 | (view_buffer_t): New. | |
45 | (plugin_input_file_t): Add view_buffer. | |
46 | (get_view): Try mmap and cache the view buffer. | |
47 | (plugin_maybe_claim): Initialize view_buffer. | |
48 | ||
119d62ff L |
49 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
50 | ||
51 | * plugin.c (release_input_file): Set fd to -1 after closing it. | |
52 | (plugin_maybe_claim): Close fd only if fd != -1. | |
53 | ||
f4b78d18 L |
54 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | PR ld/17878 | |
57 | * plugin.c: Include <errno.h>. | |
58 | (errno): New. Declare if needed. | |
59 | (plugin_input_file_t): New. | |
60 | (get_input_file): Implemented. | |
61 | (get_view): Likewise. | |
62 | (release_input_file): Likewise. | |
63 | (add_symbols): Updated. | |
64 | (get_symbols): Likewise. | |
65 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd | |
66 | only for a bfd_object input. | |
67 | ||
6c2573b7 AM |
68 | 2015-02-02 Alan Modra <amodra@gmail.com> |
69 | ||
70 | * emultempl/ppc64elf.em (toc_section_name): New var. | |
71 | (ppc_after_open): Set it. | |
72 | (ppc_before_allocation): Use it. | |
73 | (gld${EMULATION_NAME}_after_allocation): Here too. | |
74 | ||
716db898 L |
75 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
76 | ||
77 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() | |
78 | with link_info.lto_plugin_active. | |
79 | * ldlang.c (lang_process): Likewise. | |
80 | * ldmain.c (add_archive_element): Likewise. | |
81 | * plugin.c (plugin_active_plugins_p): Removed. | |
82 | * plugin.h (plugin_active_plugins_p): Likewise. | |
83 | ||
37a3056a L |
84 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
85 | ||
86 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to | |
87 | ... | |
88 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. | |
89 | ||
15f7a26b L |
90 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
91 | ||
92 | PR ld/17878 | |
93 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. | |
94 | (get_view): New function. | |
95 | (set_tv_header): Handle LDPT_GET_VIEW. | |
96 | * testplug.c (tag_names): Add LDPT_GET_VIEW. | |
97 | (tv_get_view): New. | |
98 | (dump_tv_tag): Handle LDPT_GET_VIEW. | |
99 | (parse_tv_tag): Likewise. | |
100 | ||
dbd1e97e AM |
101 | 2015-01-28 Alan Modra <amodra@gmail.com> |
102 | ||
103 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. | |
104 | * emultempl/ppc64elf.em (params): Init new field. | |
105 | (ppc_after_open): New function. | |
106 | (LDEMUL_AFTER_OPEN): Define. | |
107 | * ldlang.c (lang_final): Whitespace fix. | |
108 | ||
3f8107ab AM |
109 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
110 | ||
111 | * Makefile.am: Add FT32 files. | |
112 | * configure.tgt: Handle FT32 target. | |
113 | * emulparams/elf32ft32.sh: New file. | |
114 | * scripttempl/ft32.sc: New file. | |
115 | * Makefile.in: Regenerate. | |
116 | ||
cc9ad334 SKS |
117 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
118 | ||
119 | PR 4643 | |
120 | * ldexp.c (fold_name): Fold LENGTH only after | |
121 | lang_first_phase_enum. | |
122 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH | |
123 | rightaway. | |
124 | * ldlang.h (struct memory_region_struct): Add origin_exp and | |
125 | length_exp fields. | |
126 | * ldlang.c (lang_do_memory_regions): New. | |
127 | (lang_memory_region_lookup): Initialize origin_exp and | |
128 | length_exp fields. | |
129 | (lang_process): Call lang_do_memory_regions. | |
130 | ||
c05b575a AB |
131 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
132 | ||
133 | * ldlang.c (print_assignment): Only evaluate the expression for a | |
134 | PROVIDE'd assignment when the destination is being defined. | |
135 | Display a special message for PROVIDE'd symbols that are not being | |
136 | provided. | |
137 | ||
5ad18f16 AM |
138 | 2015-01-20 Alan Modra <amodra@gmail.com> |
139 | ||
140 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. | |
141 | (OTHER_BSS_SYMBOLS): ..this. | |
142 | (OTHER_PLT_RELOC_SECTIONS): Don't define. | |
143 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. | |
144 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. | |
145 | (OTHER_RELRO_SECTIONS_2): ..here. | |
146 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. | |
147 | ||
23283c1b AM |
148 | 2015-01-20 Alan Modra <amodra@gmail.com> |
149 | ||
150 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. | |
151 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. | |
152 | (OTHER_RELRO_SECTIONS_2): ..here. | |
153 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, | |
154 | PLT_BEFORE_GOT): Define. | |
155 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ | |
156 | PLT_BEFORE_GOT combination. | |
157 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. | |
158 | ||
3e2b0f31 AM |
159 | 2015-01-20 Alan Modra <amodra@gmail.com> |
160 | ||
161 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. | |
162 | (OTHER_RELRO_SECTIONS_2): ..here, new define. | |
163 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. | |
164 | ||
c4621b33 AM |
165 | 2015-01-19 Alan Modra <amodra@gmail.com> |
166 | ||
3e2aa5bb | 167 | PR ld/17615 |
c4621b33 AM |
168 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
169 | ||
52db4ec2 JW |
170 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
171 | ||
172 | * ld-arm/elf32-reject.s: New testcase. | |
173 | * ld-arm/elf32-reject.d: Likewise. | |
174 | * ld-arm/elf32-reject-pie.s: Likewise. | |
175 | * ld-arm/elf32-reject-pie.d: Likewise. | |
176 | * ld-arm/arm-elf.exp: Run new testcases. | |
177 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. | |
178 | * ld-arm/ifunc-7.rd: Likewise. | |
179 | * ld-arm/ifunc-7.gd: Likewise. | |
180 | * ld-arm/ifunc-7.dd: Likewise. | |
181 | * ld-arm/ifunc-8.s: Likewise. | |
182 | * ld-arm/ifunc-8.rd: Likewise. | |
183 | * ld-arm/ifunc-8.gd: Likewise. | |
184 | * ld-arm/ifunc-8.dd: Likewise. | |
185 | ||
efd321f9 AM |
186 | 2015-01-01 Alan Modra <amodra@gmail.com> |
187 | ||
188 | * ldver.c (ldversion): Just print current year. | |
189 | ||
b90efa5b | 190 | 2015-01-01 Alan Modra <amodra@gmail.com> |
ca0694ad | 191 | |
b90efa5b | 192 | Update year range in copyright notice of all files. |
ca0694ad | 193 | |
b90efa5b | 194 | For older changes see ChangeLog-2014 |
252b5132 | 195 | \f |
b90efa5b | 196 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
197 | |
198 | Copying and distribution of this file, with or without modification, | |
199 | are permitted in any medium without royalty provided the copyright | |
200 | notice and this notice are preserved. | |
201 | ||
252b5132 RH |
202 | Local Variables: |
203 | mode: change-log | |
204 | left-margin: 8 | |
205 | fill-column: 74 | |
206 | version-control: never | |
207 | End: |