ChangeLog revision 1.1.1.5 1 1.1.1.5 christos 2016-01-25 Tristan Gingold <gingold (a] adacore.com>
2 1.1.1.2 skrll
3 1.1.1.5 christos * version.m4: Bump version to 2.26
4 1.1.1.5 christos * configure: Regenerate.
5 1.1.1.2 skrll
6 1.1.1.5 christos 2016-01-14 Alan Modra <amodra (a] gmail.com>
7 1.1.1.2 skrll
8 1.1.1.5 christos PR ld/19421
9 1.1.1.5 christos PR ld/4317
10 1.1.1.5 christos * elflink.c (elf_link_input_bfd): Revert 2015-02-19 changes.
11 1.1.1.5 christos (elf_link_output_extsym): Likewise.
12 1.1.1.2 skrll
13 1.1.1.5 christos 2016-01-11 Jiong Wang <jiong.wang (a] arm.com>
14 1.1.1.2 skrll
15 1.1.1.5 christos Apply from master
16 1.1.1.2 skrll
17 1.1.1.5 christos 2016-01-08 Richard Sandiford <richard.sandiford (a] arm.com>
18 1.1.1.5 christos Jiong Wang <jiong.wang (a] arm.com>
19 1.1.1.2 skrll
20 1.1.1.5 christos PR ld/19368
21 1.1.1.5 christos * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
22 1.1.1.5 christos reloc_class_ifunc.
23 1.1.1.3 christos
24 1.1.1.5 christos 2016-01-06 Maciej W. Rozycki <macro (a] imgtec.com>
25 1.1.1.3 christos
26 1.1.1.5 christos Apply from master.
27 1.1.1.5 christos 2016-01-04 Maciej W. Rozycki <macro (a] imgtec.com>
28 1.1.1.5 christos * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
29 1.1.1.5 christos return status from `_bfd_elf_merge_object_attributes'.
30 1.1 skrll
31 1.1.1.5 christos 2015-12-11 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
32 1.1 skrll
33 1.1.1.5 christos Apply from master.
34 1.1.1.5 christos 2015-11-19 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
35 1.1.1.3 christos
36 1.1.1.5 christos PR ld/19263
37 1.1.1.5 christos * elf32-s390.c (elf_s390_gc_sweep_hook): Add null ptr check.
38 1.1.1.5 christos * elf64-s390.c (elf_s390_check_relocs): Port the GOTOFF handling
39 1.1.1.5 christos over from the 32 bit code.
40 1.1.1.5 christos (elf_s390_relocate_section): Likewise.
41 1.1.1.3 christos
42 1.1.1.5 christos 2015-12-10 Alan Modra <amodra (a] gmail.com>
43 1.1.1.3 christos
44 1.1.1.5 christos Apply from master.
45 1.1.1.5 christos 2015-12-07 Alan Modra <amodra (a] gmail.com>
46 1.1.1.5 christos * elf32-ppc.c (ppc_elf_check_relocs): Don't error on local ifunc
47 1.1.1.5 christos plt call. Wrap long lines.
48 1.1.1.5 christos (ppc_elf_relocate_section): Wrap long lines.
49 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_check_relocs): Don't error on local ifunc
50 1.1.1.5 christos plt calls. Move __tls_get_addr checks later. Don't create plt
51 1.1.1.5 christos for addr14/addr24 relocs.
52 1.1.1.5 christos (ppc64_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
53 1.1.1.5 christos (ppc64_elf_relocate_section): Correct local ifunc handling for
54 1.1.1.5 christos PLT64, PLT32 and PLT16 relocs.
55 1.1.1.5 christos
56 1.1.1.5 christos 2015-12-07 Alan Modra <amodra (a] gmail.com>
57 1.1.1.5 christos PR 19323
58 1.1.1.5 christos * elfcode.h (elf_object_p): Check for ridiculous e_shnum and
59 1.1.1.5 christos e_phnum values.
60 1.1.1.5 christos
61 1.1.1.5 christos 2015-12-07 Alan Modra <amodra (a] gmail.com>
62 1.1.1.5 christos * reloc.c (BFD_RELOC_PPC64_ENTRY): New.
63 1.1.1.5 christos * elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
64 1.1.1.5 christos entry for R_PPC64_ENTRY.
65 1.1.1.5 christos (LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
66 1.1.1.5 christos (ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
67 1.1.1.5 christos (ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY. Use
68 1.1.1.5 christos new insn defines.
69 1.1.1.5 christos * libbfd.h: Regenerate.
70 1.1.1.5 christos * bfd-in2.h: Regenerate.
71 1.1.1.3 christos
72 1.1.1.5 christos 2015-12-02 Alan Modra <amodra (a] gmail.com>
73 1.1.1.5 christos PR binutils/19315
74 1.1.1.5 christos * dwarf2.c (_bfd_elf_find_function): Return symbol matched.
75 1.1.1.5 christos (_bfd_dwarf2_find_nearest_line): Check symbol returned above
76 1.1.1.5 christos against dwarf range.
77 1.1.1.5 christos * elf-bfd.h (_bfd_elf_find_function): Update prototype.
78 1.1.1.5 christos
79 1.1.1.5 christos 2015-12-02 Alan Modra <amodra (a] gmail.com>
80 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
81 1.1.1.5 christos symbol section or output section.
82 1.1.1.5 christos (ppc64_elf_edit_toc): Similarly for ld -R objects.
83 1.1.1.5 christos (ppc64_elf_size_stubs): Likewise.
84 1.1.1.5 christos
85 1.1.1.5 christos 2015-11-20 Stefan Teleman <stefan.teleman (a] oracle.com>
86 1.1.1.5 christos PR ld/19260
87 1.1.1.5 christos * cache.c (bfd_cache_max_open): Avoid using getrlimit on 32-bit
88 1.1.1.5 christos Solaris as the result is unreliable.
89 1.1.1.5 christos
90 1.1.1.5 christos 2015-11-18 Alan Modra <amodra (a] gmail.com>
91 1.1.1.5 christos PR 19256
92 1.1.1.5 christos * archive.c (bfd_generic_openr_next_archived_file): Don't allow
93 1.1.1.5 christos backward file movement via "negative" sizes.
94 1.1.1.5 christos * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Likewise.
95 1.1.1.5 christos
96 1.1.1.5 christos 2015-12-04 H.J. Lu <hongjiu.lu (a] intel.com>
97 1.1.1.5 christos
98 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_load): Skip if addend isn't 0.
99 1.1.1.5 christos (elf_i386_relocate_section): Skip R_386_GOT32X optimization if
100 1.1.1.5 christos addend isn't 0.
101 1.1.1.5 christos
102 1.1.1.5 christos 2015-12-01 H.J. Lu <hongjiu.lu (a] intel.com>
103 1.1.1.5 christos
104 1.1.1.5 christos PR ld/19319
105 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_load): Check h->def_regular
106 1.1.1.5 christos instead of bfd_link_hash_new.
107 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_load): Likewise. Skip
108 1.1.1.5 christos relocation overflow for bfd_link_hash_undefined and
109 1.1.1.5 christos bfd_link_hash_new if h->def_regular is set.
110 1.1 skrll
111 1.1.1.5 christos 2015-11-13 Tristan Gingold <gingold (a] adacore.com>
112 1.1 skrll
113 1.1.1.5 christos * version.m4: Bump version to 2.25.90
114 1.1.1.5 christos * configure: Regenerate.
115 1.1 skrll
116 1.1.1.5 christos 2015-11-13 Tristan Gingold <gingold (a] adacore.com>
117 1.1 skrll
118 1.1.1.5 christos * version.m4: Bump version to 2.26.51
119 1.1.1.5 christos * configure: Regenerate.
120 1.1 skrll
121 1.1.1.5 christos 2015-11-11 Alan Modra <amodra (a] gmail.com>
122 1.1.1.5 christos Peter Bergner <bergner (a] vnet.ibm.com>
123 1.1.1.3 christos
124 1.1.1.5 christos * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_REL16DX_HA.
125 1.1.1.5 christos (ppc_elf_reloc_type_lookup): Handle R_PPC_REL16DX_HA.
126 1.1.1.5 christos (ppc_elf_addr16_ha_reloc): Likewise.
127 1.1.1.5 christos (ppc_elf_check_relocs): Likewise.
128 1.1.1.5 christos (ppc_elf_relocate_section): Likewise.
129 1.1.1.5 christos (is_insn_dq_form): Handle lxv and stxv instructions.
130 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_REL16DX_HA.
131 1.1.1.5 christos (ppc64_elf_reloc_type_lookup): Handle R_PPC64_REL16DX_HA.
132 1.1.1.5 christos (ppc64_elf_ha_reloc): Likewise.
133 1.1.1.5 christos (ppc64_elf_check_relocs): Likewise.
134 1.1.1.5 christos (ppc64_elf_relocate_section): Likewise.
135 1.1.1.5 christos * bfd-in2.h: Regenerate.
136 1.1.1.5 christos * libbfd.h: Likewise.
137 1.1.1.5 christos * reloc.c (BFD_RELOC_PPC_REL16DX_HA): New.
138 1.1.1.3 christos
139 1.1.1.5 christos 2015-11-10 H.J. Lu <hongjiu.lu (a] intel.com>
140 1.1.1.3 christos
141 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Handle VTINHERIT
142 1.1.1.5 christos and VTENTRY relocations when deleting relocations.
143 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
144 1.1.1.3 christos
145 1.1.1.5 christos 2015-11-10 H.J. Lu <hongjiu.lu (a] intel.com>
146 1.1 skrll
147 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Properly move
148 1.1.1.5 christos kept relocations when deleting relocations.
149 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
150 1.1 skrll
151 1.1.1.5 christos 2015-11-09 H.J. Lu <hongjiu.lu (a] intel.com>
152 1.1 skrll
153 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Use read and write
154 1.1.1.5 christos pointers to reloc array, rather than memmove when deleting a
155 1.1.1.5 christos reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust
156 1.1.1.5 christos reloc counts at end of loop.
157 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
158 1.1.1.4 christos
159 1.1.1.5 christos 2015-11-10 Alan Modra <amodra (a] gmail.com>
160 1.1.1.4 christos
161 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_relocate_section): Use read and write
162 1.1.1.5 christos pointers to reloc array, rather than memmove when deleting a
163 1.1.1.5 christos reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust
164 1.1.1.5 christos reloc counts at end of loop.
165 1.1.1.5 christos * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
166 1.1.1.4 christos
167 1.1.1.5 christos 2015-11-09 Dominik Vogt <vogt (a] linux.vnet.ibm.com>
168 1.1.1.4 christos
169 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_size_stubs, ppc64_elf_build_stubs): Fix left
170 1.1.1.5 christos shift of negative value.
171 1.1.1.5 christos * libbfd.c (safe_read_leb128): Likewise.
172 1.1.1.5 christos * dwarf2.c (place_sections): Likewise.
173 1.1.1.5 christos * bfd-in.h (align_power): Likewise.
174 1.1.1.5 christos * bfd-in2.h (align_power): Likewise.
175 1.1.1.4 christos
176 1.1.1.5 christos 2015-10-30 Nick Clifton <nickc (a] redhat.com>
177 1.1.1.4 christos
178 1.1.1.5 christos * po/zh_CN.po: Updated (simplified) Chinese translation.
179 1.1.1.4 christos
180 1.1.1.5 christos 2015-10-29 Catherine Moore <clm (a] codesourcery.com>
181 1.1.1.4 christos
182 1.1.1.5 christos * elfxx-mips.c (mips_elf_check_mips16_stubs): Set a stub's output
183 1.1.1.5 christos section to bfd_abs_section_ptr if the stub is discarded.
184 1.1 skrll
185 1.1.1.5 christos 2015-10-29 Ed Schouten <ed (a] nuxi.nl>
186 1.1 skrll
187 1.1.1.5 christos * config.bfd (targ_defvec): Add support for CloudABI on aarch64.
188 1.1.1.5 christos For this target we have to make sure we use ELFOSABI_CLOUDABI
189 1.1.1.5 christos instead of ELFOSABI_NONE.
190 1.1.1.5 christos * configure.ac (tb): Likewise.
191 1.1.1.5 christos * elfnn-aarch64.c: Likewise.
192 1.1.1.5 christos * targets.c (_bfd_target_vector): Likewise.
193 1.1.1.5 christos * configure: Regenerate.
194 1.1 skrll
195 1.1.1.5 christos 2015-10-29 Pedro Alves <palves (a] redhat.com>
196 1.1 skrll
197 1.1.1.5 christos * libhppa.h (bfd_hppa_insn2fmt): Add cast.
198 1.1 skrll
199 1.1.1.5 christos 2015-10-28 H.J. Lu <hongjiu.lu (a] intel.com>
200 1.1 skrll
201 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Fix a typo in
202 1.1.1.5 christos comment.
203 1.1 skrll
204 1.1.1.5 christos 2015-10-28 Nick Clifton <nickc (a] redhat.com>
205 1.1 skrll
206 1.1.1.5 christos * elf32-arm.c (create_instruction_branch_absolute): Replace
207 1.1.1.5 christos pointer parameters with a simple integer parameter.
208 1.1.1.5 christos (stm32l4xx_create_replacing_stub_ldmia): Update calls to
209 1.1.1.5 christos create_instruction_branch_absolute.
210 1.1.1.5 christos (stm32l4xx_create_replacing_stub_ldmdb): Likewise.
211 1.1.1.5 christos (stm32l4xx_create_replacing_stub_vldm): Likewise.
212 1.1.1.5 christos (elf32_arm_write_section): Use pointer type for veneer addresses.
213 1.1 skrll
214 1.1.1.5 christos 2015-10-28 Cupertino Miranda <cmiranda (a] synopsys.com>
215 1.1 skrll
216 1.1.1.5 christos * reloc.c (BFD_RELOC_ARC_32_PCREL): New entry.
217 1.1.1.5 christos * elf32-arc.c (arc_elf_howto_ini): Update formula.
218 1.1.1.5 christos (get_middle_endian_relocation): New function.
219 1.1.1.5 christos (PDATA): Define.
220 1.1.1.5 christos * bfd-in2.h: Regenerate.
221 1.1.1.5 christos * libbfd.h: Likewise.
222 1.1 skrll
223 1.1.1.5 christos 2015-10-28 Alan Modra <amodra (a] gmail.com>
224 1.1 skrll
225 1.1.1.5 christos PR ld/19162
226 1.1.1.5 christos * elflink.c (_bfd_elf_gc_mark_reloc): Move code iterating over
227 1.1.1.5 christos linker input bfds..
228 1.1.1.5 christos * section.c (bfd_get_next_section_by_name): ..to here. Add ibfd param.
229 1.1.1.5 christos (bfd_get_linker_section): Adjust bfd_get_next_section_by_name call.
230 1.1.1.5 christos * tekhex.c (first_phase): Likewise.
231 1.1.1.5 christos * elflink.c (bfd_elf_gc_sections): Likewise.
232 1.1.1.5 christos * bfd-in2.h: Regenerate.
233 1.1 skrll
234 1.1.1.5 christos 2015-10-27 Laurent Alfonsi <laurent.alfonsi (a] st.com>
235 1.1.1.5 christos Christophe Monat <christophe.monat (a] st.com>
236 1.1 skrll
237 1.1.1.5 christos * bfd-in2.h: Regenerate.
238 1.1.1.5 christos * bfd-in.h (bfd_arm_stm32l4xx_fix): New enum. Specify how
239 1.1.1.5 christos STM32L4XX instruction scanning should be done.
240 1.1.1.5 christos (bfd_elf32_arm_set_stm32l4xx_fix)
241 1.1.1.5 christos (bfd_elf32_arm_stm32l4xx_erratum_scan)
242 1.1.1.5 christos (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Add prototypes.
243 1.1.1.5 christos (bfd_elf32_arm_set_target_relocs): Add stm32l4xx fix type argument
244 1.1.1.5 christos to prototype.
245 1.1.1.5 christos * elf32-arm.c (STM32L4XX_ERRATUM_VENEER_SECTION_NAME)
246 1.1.1.5 christos (STM32L4XX_ERRATUM_VENEER_ENTRY_NAME): Define macros.
247 1.1.1.5 christos (elf32_stm32l4xx_erratum_type): New enum.
248 1.1.1.5 christos (elf32_stm32l4xx_erratum_list): New struct. List of veneers or
249 1.1.1.5 christos jumps to veneers.
250 1.1.1.5 christos (_arm_elf_section_data): Add stm32l4xx_erratumcount,
251 1.1.1.5 christos stm32l4xx_erratumlist.
252 1.1.1.5 christos (elf32_arm_link_hash_table): Add stm32l4xx_erratum_glue_size,
253 1.1.1.5 christos stm32l4xx_fix and num_stm32l4xx_fixes fields.
254 1.1.1.5 christos (ctz): New function.
255 1.1.1.5 christos (popcount): New function.
256 1.1.1.5 christos (elf32_arm_link_hash_table_create): Initialize stm32l4xx_fix.
257 1.1.1.5 christos (put_thumb2_insn): New function.
258 1.1.1.5 christos (STM32L4XX_ERRATUM_LDM_VENEER_SIZE): Define. Size of a veneer for
259 1.1.1.5 christos LDM instructions.
260 1.1.1.5 christos (STM32L4XX_ERRATUM_VLDM_VENEER_SIZE): Define. Size of a veneer for
261 1.1.1.5 christos VLDM instructions.
262 1.1.1.5 christos (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
263 1.1.1.5 christos glue section.
264 1.1.1.5 christos (record_stm32l4xx_erratum_veneer) : New function. Create a single
265 1.1.1.5 christos veneer, and its associated symbols.
266 1.1.1.5 christos (bfd_elf32_arm_add_glue_sections_to_bfd): Add STM32L4XX erratum glue.
267 1.1.1.5 christos (bfd_elf32_arm_set_stm32l4xx_fix): New function. Set the type of
268 1.1.1.5 christos erratum workaround required.
269 1.1.1.5 christos (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): New function. Find
270 1.1.1.5 christos out where veneers and branches to veneers have been placed in
271 1.1.1.5 christos virtual memory after layout.
272 1.1.1.5 christos (is_thumb2_ldmia): New function.
273 1.1.1.5 christos (is_thumb2_ldmdb): Likewise.
274 1.1.1.5 christos (is_thumb2_vldm ): Likewise.
275 1.1.1.5 christos (stm32l4xx_need_create_replacing_stub): New function. Decide if a
276 1.1.1.5 christos veneer must be emitted.
277 1.1.1.5 christos (bfd_elf32_arm_stm32l4xx_erratum_scan): Scan the sections of an
278 1.1.1.5 christos input BFD for potential erratum-triggering insns. Record results.
279 1.1.1.5 christos (bfd_elf32_arm_set_target_relocs): Set stm32l4xx_fix field in
280 1.1.1.5 christos global hash table.
281 1.1.1.5 christos (elf32_arm_size_dynamic_sections): Collect glue information.
282 1.1.1.5 christos (create_instruction_branch_absolute): New function.
283 1.1.1.5 christos (create_instruction_ldmia): Likewise.
284 1.1.1.5 christos (create_instruction_ldmdb): Likewise.
285 1.1.1.5 christos (create_instruction_mov): Likewise.
286 1.1.1.5 christos (create_instruction_sub): Likewise.
287 1.1.1.5 christos (create_instruction_vldmia): Likewise.
288 1.1.1.5 christos (create_instruction_vldmdb): Likewise.
289 1.1.1.5 christos (create_instruction_udf_w): Likewise.
290 1.1.1.5 christos (create_instruction_udf): Likewise.
291 1.1.1.5 christos (push_thumb2_insn32): Likewise.
292 1.1.1.5 christos (push_thumb2_insn16): Likewise.
293 1.1.1.5 christos (stm32l4xx_fill_stub_udf): Likewise.
294 1.1.1.5 christos (stm32l4xx_create_replacing_stub_ldmia): New function. Expands the
295 1.1.1.5 christos replacing stub for ldmia instructions.
296 1.1.1.5 christos (stm32l4xx_create_replacing_stub_ldmdb): Likewise for ldmdb.
297 1.1.1.5 christos (stm32l4xx_create_replacing_stub_vldm): Likewise for vldm.
298 1.1.1.5 christos (stm32l4xx_create_replacing_stub): New function. Dispatches the
299 1.1.1.5 christos stub emission to the appropriate functions.
300 1.1.1.5 christos (elf32_arm_write_section): Output veneers, and branches to veneers.
301 1.1 skrll
302 1.1.1.5 christos 2015-10-27 Sangamesh Mallayya <nickc (a] redhat.com>sangamesh.swamy (a] in.ibm.com>
303 1.1 skrll
304 1.1.1.5 christos * configure.ac (powerpc64-*-aix[5-9].*): Match powerpc64 running
305 1.1.1.5 christos aix for core file support.
306 1.1.1.5 christos * configure: Regenerate.
307 1.1.1.5 christos * rs6000-core.c: Check for __ld_info64 if compiling 64-bit gdb.
308 1.1.1.5 christos Added BFD64 check if we are using old core file format for 32-bit gdb.
309 1.1.1.5 christos Set sizeof CORE_COMMONSZ appropriately in case of either new or
310 1.1.1.5 christos old core file format.
311 1.1.1.5 christos (read_hdr): Added BFD64 check for 64-bit support.
312 1.1.1.5 christos (rs6000coff_core_p): Likewise.
313 1.1.1.5 christos (rs6000coff_core_file_matches_executable_p): Likewise.
314 1.1.1.5 christos (rs6000coff_core_file_failing_command): Likewise.
315 1.1.1.5 christos (rs6000coff_core_file_failing_signal): Likewise.
316 1.1.1.5 christos Add support for debugging core files generated by binaries in
317 1.1.1.5 christos Large Memory model.
318 1.1.1.5 christos (rs6000coff_core_p): If Large Memory Model is used, then the .data
319 1.1.1.5 christos segment should start from BDATAORG which has been defined in the
320 1.1.1.5 christos system header files.
321 1.1.1.5 christos
322 1.1.1.5 christos 2015-10-26 H.J. Lu <hongjiu.lu (a] intel.com>
323 1.1.1.5 christos
324 1.1.1.5 christos PR ld/19175
325 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_load): Check bfd_link_hash_new
326 1.1.1.5 christos instead of calling bfd_link_get_defined_symbol.
327 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_load): Likewise. Skip
328 1.1.1.5 christos relocation overflow for bfd_link_hash_new.
329 1.1.1.5 christos * linker.c (bfd_link_get_defined_symbol): Removed.
330 1.1.1.5 christos * bfd-in2.h: Regenerated.
331 1.1 skrll
332 1.1.1.5 christos 2015-10-26 H.J. Lu <hongjiu.lu (a] intel.com>
333 1.1 skrll
334 1.1.1.5 christos PR ld/19171
335 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_load): Call
336 1.1.1.5 christos bfd_link_get_defined_symbol to check if a symbol is defined.
337 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_load): Call
338 1.1.1.5 christos bfd_link_get_defined_symbol to get defined symbol section and
339 1.1.1.5 christos value.
340 1.1.1.5 christos * linker.c (bfd_link_get_defined_symbol): New function.
341 1.1.1.5 christos * bfd-in2.h: Regenerated.
342 1.1 skrll
343 1.1.1.5 christos 2015-10-23 Alan Modra <amodra (a] gmail.com>
344 1.1 skrll
345 1.1.1.5 christos PR ld/11133
346 1.1.1.5 christos PR ld/19161
347 1.1.1.5 christos PR ld/19167
348 1.1.1.5 christos * elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_*
349 1.1.1.5 christos and __stop_* symbol refs.
350 1.1.1.5 christos (_bfd_elf_gc_mark_rsec): Add start_stop parameter. Handle __start_*
351 1.1.1.5 christos and __stop_* symbol refs here..
352 1.1.1.5 christos (_bfd_elf_gc_mark_reloc): ..and here.
353 1.1.1.5 christos * elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype.
354 1.1.1.5 christos * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update
355 1.1.1.5 christos _bfd_elf_gc_mark_rsec call.
356 1.1.1.5 christos
357 1.1.1.5 christos 2015-10-23 Alan Modra <amodra (a] gmail.com>
358 1.1.1.5 christos
359 1.1.1.5 christos PR ld/11133
360 1.1.1.5 christos PR ld/19161
361 1.1.1.5 christos * elflink.c (elf_gc_sweep): Revert last patch.
362 1.1.1.5 christos (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.
363 1.1.1.5 christos
364 1.1.1.5 christos 2015-10-22 H.J. Lu <hongjiu.lu (a] intel.com>
365 1.1.1.5 christos
366 1.1.1.5 christos PR ld/19161
367 1.1.1.5 christos * elflink.c (elf_gc_sweep): Always keep sections marked with
368 1.1.1.5 christos SEC_KEEP.
369 1.1.1.5 christos
370 1.1.1.5 christos 2015-10-22 Hans-Peter Nilsson <hp (a] bitrange.com>
371 1.1.1.5 christos
372 1.1.1.5 christos * mmo.c (struct mmo_data_struct): New members
373 1.1.1.5 christos symbol_consistency_override_calculated and ignore_symbol_consistency.
374 1.1.1.5 christos (mmo_section_has_contents, mmo_ignore_symbol_consistency): New
375 1.1.1.5 christos functions.
376 1.1.1.5 christos (mmo_create_symbol): Check with mmo_ignore_symbol_consistency if to
377 1.1.1.5 christos report an error for unexpected value of Main.
378 1.1.1.5 christos (mmo_write_symbols_and_terminator): Similar.
379 1.1.1.5 christos
380 1.1.1.5 christos 2015-10-22 H.J. Lu <hongjiu.lu (a] intel.com>
381 1.1.1.5 christos
382 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_load): Use call_nop_byte and
383 1.1.1.5 christos check call_nop_as_suffix for 1-byte NOP padding to pad call.
384 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.
385 1.1.1.5 christos
386 1.1.1.5 christos 2015-10-22 H.J. Lu <hongjiu.lu (a] intel.com>
387 1.1.1.5 christos
388 1.1.1.5 christos * elf64-x86-64.c: Include opcode/i386.h.
389 1.1.1.5 christos (x86_64_elf_howto_table): Add R_X86_64_GOTPCRELX and
390 1.1.1.5 christos R_X86_64_REX_GOTPCRELX.
391 1.1.1.5 christos (R_X86_64_standard): Replace R_X86_64_PLT32_BND with
392 1.1.1.5 christos R_X86_64_REX_GOTPCRELX.
393 1.1.1.5 christos (x86_64_reloc_map): Add BFD_RELOC_X86_64_GOTPCRELX and
394 1.1.1.5 christos BFD_RELOC_X86_64_REX_GOTPCRELX.
395 1.1.1.5 christos (need_convert_mov_to_lea): Renamed to ...
396 1.1.1.5 christos (need_convert_load): This.
397 1.1.1.5 christos (elf_x86_64_check_relocs): Handle R_X86_64_GOTPCRELX and
398 1.1.1.5 christos R_X86_64_REX_GOTPCRELX. Replace need_convert_mov_to_lea with
399 1.1.1.5 christos need_convert_load.
400 1.1.1.5 christos (elf_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPCRELX and
401 1.1.1.5 christos R_X86_64_REX_GOTPCRELX.
402 1.1.1.5 christos (elf_x86_64_size_dynamic_sections): Likewise.
403 1.1.1.5 christos (elf_x86_64_relocate_section): Likewise.
404 1.1.1.5 christos (elf_x86_64_convert_mov_to_lea): Renamed to ...
405 1.1.1.5 christos (elf_x86_64_convert_load): This. Replace need_convert_mov_to_lea
406 1.1.1.5 christos with need_convert_load. Support R_X86_64_GOTPCRELX and
407 1.1.1.5 christos R_X86_64_REX_GOTPCRELX transformations.
408 1.1.1.5 christos * reloc.c (BFD_RELOC_X86_64_GOTPCRELX): New.
409 1.1.1.5 christos (BFD_RELOC_X86_64_REX_GOTPCRELX): Likewise.
410 1.1.1.5 christos * bfd-in2.h: Regenerated.
411 1.1.1.5 christos * libbfd.h: Likewise.
412 1.1 skrll
413 1.1.1.5 christos 2015-10-22 H.J. Lu <hongjiu.lu (a] intel.com>
414 1.1 skrll
415 1.1.1.5 christos * elf32-i386.c: Include opcode/i386.h.
416 1.1.1.5 christos (elf_howto_table): Add R_386_GOT32X.
417 1.1.1.5 christos (R_386_ext2): Replace R_386_IRELATIVE with R_386_GOT32X.
418 1.1.1.5 christos (elf_i386_reloc_type_lookup): Handle BFD_RELOC_386_GOT32X.
419 1.1.1.5 christos (need_convert_mov_to_lea): Renamed to ...
420 1.1.1.5 christos (need_convert_load): This.
421 1.1.1.5 christos (elf_i386_check_relocs): Handle R_386_GOT32X. Replace
422 1.1.1.5 christos need_convert_mov_to_lea with need_convert_load.
423 1.1.1.5 christos (elf_i386_gc_sweep_hook): Handle R_386_GOT32X.
424 1.1.1.5 christos (elf_i386_size_dynamic_sections): Likewise.
425 1.1.1.5 christos (elf_i386_relocate_section): Likewise.
426 1.1.1.5 christos (elf_i386_convert_mov_to_lea): Renamed to ...
427 1.1.1.5 christos (elf_i386_convert_load): This. Replace need_convert_mov_to_lea
428 1.1.1.5 christos with need_convert_load. Support R_386_GOT32X transformations.
429 1.1.1.5 christos * reloc.c (BFD_RELOC_386_GOT32X): New.
430 1.1.1.5 christos * bfd-in2.h: Regenerated.
431 1.1.1.5 christos * libbfd.h: Likewise.
432 1.1 skrll
433 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
434 1.1 skrll
435 1.1.1.5 christos * elf32-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
436 1.1.1.5 christos only when linking an executable.
437 1.1.1.5 christos (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
438 1.1.1.5 christos slot.
439 1.1.1.5 christos * elf64-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
440 1.1.1.5 christos only when linking an executable.
441 1.1.1.5 christos (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
442 1.1.1.5 christos slot.
443 1.1 skrll
444 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
445 1.1 skrll
446 1.1.1.5 christos * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Set the PLT
447 1.1.1.5 christos reference counters for local IFUNC calls.
448 1.1.1.5 christos * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
449 1.1 skrll
450 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
451 1.1 skrll
452 1.1.1.5 christos * elf32-s390.c (elf_s390_check_relocs): Fallthrough to the PLT
453 1.1.1.5 christos slot allocating code for GOTOFF relocs on ifunc symbols.
454 1.1.1.5 christos (elf_s390_gc_sweep_hook): Decrement plt refcount for GOTOFF relocs
455 1.1.1.5 christos on ifunc symbols.
456 1.1.1.5 christos (elf_s390_relocate_section): Redirect a GOTOFF reloc to an iplt
457 1.1.1.5 christos slot.
458 1.1 skrll
459 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
460 1.1 skrll
461 1.1.1.5 christos PR ld/18841
462 1.1.1.5 christos * elf32-s390.c (elf_s390_reloc_type_class): Return
463 1.1.1.5 christos reloc_class_ifunc for ifunc symbols.
464 1.1.1.5 christos * elf64-s390.c (elf_s390_reloc_type_class): Likewise.
465 1.1.1.4 christos
466 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
467 1.1.1.4 christos
468 1.1.1.5 christos * elf32-s390.c (elf_s390_finish_dynamic_symbol): Call
469 1.1.1.5 christos elf_s390_finish_ifunc_symbol only for actually defined symbols.
470 1.1.1.5 christos * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
471 1.1.1.4 christos
472 1.1.1.5 christos 2015-10-22 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
473 1.1.1.4 christos
474 1.1.1.5 christos * elf-s390-common.c (s390_elf_allocate_ifunc_dyn_relocs): Remove
475 1.1.1.5 christos `head' parameter.
476 1.1.1.5 christos * elf32-s390.c (allocate_dynrelocs): Don't use last parameter.
477 1.1.1.5 christos * elf64-s390.c (allocate_dynrelocs): Don't use last parameter.
478 1.1.1.4 christos
479 1.1.1.5 christos 2015-10-20 Hans-Peter Nilsson <hp (a] bitrange.com>
480 1.1.1.4 christos
481 1.1.1.5 christos * mmo.c (mmo_write_symbols_and_terminator): Correct printed value
482 1.1.1.5 christos of Main in error message.
483 1.1 skrll
484 1.1.1.5 christos 2015-10-18 Doug Evans <xdje42 (a] gmail.com>
485 1.1 skrll
486 1.1.1.5 christos * targets.c (bfd_flavour_name): "MMO" is spelled "mmo".
487 1.1 skrll
488 1.1.1.5 christos 2015-10-17 Alan Modra <amodra (a] gmail.com>
489 1.1 skrll
490 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve
491 1.1.1.5 christos eh_frame FDE for ELFv1.
492 1.1 skrll
493 1.1.1.5 christos 2015-10-16 H.J. Lu <hongjiu.lu (a] intel.com>
494 1.1 skrll
495 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol
496 1.1.1.5 christos is defined.
497 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
498 1.1 skrll
499 1.1.1.5 christos 2015-10-16 H.J. Lu <hongjiu.lu (a] intel.com>
500 1.1.1.3 christos
501 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't check
502 1.1.1.5 christos def_regular.
503 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
504 1.1.1.3 christos
505 1.1.1.5 christos 2015-10-15 H.J. Lu <hongjiu.lu (a] intel.com>
506 1.1.1.3 christos
507 1.1.1.5 christos * elflink.c (_bfd_elf_merge_symbol): Fix typos in comments
508 1.1.1.3 christos
509 1.1.1.5 christos 2015-10-15 Alan Modra <amodra (a] gmail.com>
510 1.1.1.3 christos
511 1.1.1.5 christos * elf32-v850.c (v850_elf_copy_private_bfd_data): Remove assertion
512 1.1.1.5 christos that input and output .note.renesas sections are same size.
513 1.1.1.5 christos Instead, only copy input to output if they are.
514 1.1.1.3 christos
515 1.1.1.5 christos 2015-10-15 Riku Voipio <riku.voipio (a] iki.fi>
516 1.1.1.3 christos
517 1.1.1.5 christos PR ld/19123
518 1.1.1.5 christos * elfcore.h (elf_core_file_p): Use the file_ptr type to hold the
519 1.1.1.5 christos offset for bfd_seek.
520 1.1.1.5 christos * elfcode.h (elf_object_p): Likewise.
521 1.1 skrll
522 1.1.1.5 christos 2015-10-14 Rich Felker <dalias (a] libc.org>
523 1.1 skrll
524 1.1.1.5 christos PR ld/19091
525 1.1.1.5 christos * elf32-sh.c (sh_elf_size_dynamic_sections): Always emit
526 1.1.1.5 christos DT_PLTGOT for FDPIC output.
527 1.1 skrll
528 1.1.1.5 christos 2015-10-13 Alan Modra <amodra (a] gmail.com>
529 1.1 skrll
530 1.1.1.5 christos * elf.c (_bfd_elf_map_sections_to_segments): Don't set
531 1.1.1.5 christos PT_GNU_RELRO p_flags.
532 1.1.1.5 christos (assign_file_positions_for_non_load_sections): Set PT_GNU_RELRO
533 1.1.1.5 christos flags to PF_R here.
534 1.1 skrll
535 1.1.1.5 christos 2015-10-12 H.J. Lu <hongjiu.lu (a] intel.com>
536 1.1 skrll
537 1.1.1.5 christos PR ld/19073
538 1.1.1.5 christos * elflink.c (_bfd_elf_add_default_symbol): Skip the unversioned
539 1.1.1.5 christos definition after the default version.
540 1.1 skrll
541 1.1.1.5 christos 2015-10-12 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
542 1.1 skrll
543 1.1.1.5 christos PR ld/19083
544 1.1.1.5 christos * elf32-s390.c (elf_s390_gc_sweep_hook): Do not reduce got
545 1.1.1.5 christos refcount for relocs not really requiring a got slot.
546 1.1.1.5 christos * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
547 1.1 skrll
548 1.1.1.5 christos 2015-10-11 John David Anglin <danglin (a] gcc.gnu.org>
549 1.1.1.3 christos
550 1.1.1.5 christos * elf-hppa.h (elf_hppa_action_discarded): Ignore relocations in
551 1.1.1.5 christos .data.rel.ro.local.
552 1.1.1.3 christos
553 1.1.1.5 christos 2015-10-07 Cupertino Miranda <cmiranda (a] synopsys.com>
554 1.1 skrll
555 1.1.1.5 christos * archures.c: Remove support for older ARC. Added support for new
556 1.1.1.5 christos ARC cpus (ARC600, ARC601, ARC700, ARCV2).
557 1.1.1.5 christos * bfd-in2.h: Likewise.
558 1.1.1.5 christos * config.bfd: Likewise.
559 1.1.1.5 christos * cpu-arc.c: Likewise.
560 1.1.1.5 christos * elf32-arc.c: Totally changed file with a refactored
561 1.1.1.5 christos inplementation of the ARC port.
562 1.1.1.5 christos * libbfd.h: Added ARC specific relocation types.
563 1.1.1.5 christos * reloc.c: Likewise.
564 1.1 skrll
565 1.1.1.5 christos 2015-10-06 H.J. Lu <hongjiu.lu (a] intel.com>
566 1.1 skrll
567 1.1.1.5 christos * bfd.c (bfd_update_compression_header): Clear the ch_reserved
568 1.1.1.5 christos field in 64-bit output.
569 1.1.1.5 christos (bfd_convert_section_contents): Likewise.
570 1.1 skrll
571 1.1.1.5 christos 2015-10-05 H.J. Lu <hongjiu.lu (a] intel.com>
572 1.1 skrll
573 1.1.1.5 christos PR ld/18914
574 1.1.1.5 christos * elflink.c (elf_link_add_object_symbols): Don't re-export a
575 1.1.1.5 christos symbol if it isn't undefined.
576 1.1 skrll
577 1.1.1.5 christos 2015-10-04 H.J. Lu <hongjiu.lu (a] intel.com>
578 1.1 skrll
579 1.1.1.5 christos * config.bfd (targ_selvecs, targ64_selvecs): Add iamcu_elf32_vec,
580 1.1.1.5 christos i386_pei_vec and x86_64_pei_vec for Solaris2/x86.
581 1.1 skrll
582 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
583 1.1 skrll
584 1.1.1.5 christos * elfnn-aarch64.c (aarch64_tls_transition_without_check): Add
585 1.1.1.5 christos relax transitions for TLSDESC_ADD, TLSDESC_LDR, TLSDESC_OFF_G0_NC,
586 1.1.1.5 christos TLSDESC_OFF_G1.
587 1.1.1.5 christos (aarch64_tls_transition_without_check): Add relaxation support.
588 1.1.1.5 christos (aarch64_reloc_got_type): Add support.
589 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
590 1.1.1.5 christos (elfNN_aarch64_tls_relax): Likewise.
591 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
592 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
593 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
594 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
595 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
596 1.1 skrll
597 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
598 1.1.1.5 christos
599 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Check overflow for
600 1.1.1.5 christos BFD_RELOC_AARCH64_TLSDESC_OFF_G1.
601 1.1.1.5 christos
602 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
603 1.1.1.5 christos
604 1.1.1.5 christos * elfnn-aarch64.c(IS_AARCH64_TLS_RELAX_RELOC):
605 1.1.1.5 christos Add relaxation support for TLSGD_MOVW_G0_NC and TLSGD_MOVW_G1.
606 1.1.1.5 christos (aarch64_tls_transition_without_check): Likewise
607 1.1.1.5 christos (elfNN_aarch64_tls_relax): Likwise.
608 1.1.1.5 christos
609 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
610 1.1.1.5 christos
611 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Create GOT section
612 1.1.1.5 christos for TLSLE_MOVW_TPREL_G(1, 1_NC, 2) relocation.
613 1.1.1.5 christos
614 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
615 1.1.1.5 christos
616 1.1.1.5 christos * reloc.c: Make AARCH64_TLSIE_MOVW_GOTTPREL_G1 and
617 1.1.1.5 christos AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC defined in alphabetical order.
618 1.1.1.5 christos * libbfd.h: Regenerate.
619 1.1.1.5 christos * bfd-in2.h: Likewise.
620 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Make
621 1.1.1.5 christos TLSIE_MOVW_GOTTPREL_G1 check overflow.
622 1.1.1.5 christos (aarch64_reloc_got_type): Add support for TLSIE_MOVW_GOTTPREL_G1
623 1.1.1.5 christos and TLSIE_MOVW_GOTTPREL_G0_NC.
624 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
625 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
626 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
627 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
628 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
629 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
630 1.1.1.5 christos
631 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
632 1.1.1.5 christos
633 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Add
634 1.1.1.5 christos BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC support.
635 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
636 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
637 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
638 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
639 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
640 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
641 1.1.1.5 christos
642 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
643 1.1.1.5 christos
644 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC): New entry.
645 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
646 1.1.1.5 christos BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC.
647 1.1.1.5 christos * libbfd.h: Regenerate.
648 1.1.1.5 christos * bfd-in2.h: Likewise
649 1.1.1.5 christos
650 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
651 1.1.1.5 christos
652 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Add
653 1.1.1.5 christos BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.
654 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
655 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
656 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
657 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
658 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
659 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
660 1.1.1.5 christos
661 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
662 1.1.1.5 christos
663 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G1): New entry.
664 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
665 1.1.1.5 christos BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
666 1.1.1.5 christos * bfd-in2.h: Regenerate.
667 1.1.1.5 christos * libbfd.h: Likewise.
668 1.1.1.5 christos
669 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
670 1.1.1.5 christos
671 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Add
672 1.1.1.5 christos BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC support.
673 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
674 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
675 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
676 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
677 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
678 1.1.1.5 christos
679 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
680 1.1.1.5 christos
681 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC): New.
682 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry
683 1.1.1.5 christos MOVW_GOTOFF_G0_NC.
684 1.1.1.5 christos * libbfd.h: Regnerate.
685 1.1.1.4 christos * bfd-in2.h: Regenerate.
686 1.1.1.5 christos
687 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
688 1.1.1.5 christos
689 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Add support
690 1.1.1.5 christos for BFD_RELOC_AARCH64_MOVW_GOTOFF_G1.
691 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
692 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise
693 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
694 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise
695 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise
696 1.1.1.5 christos
697 1.1.1.5 christos 2015-010-02 Renlin Li <renlin.li (a] arm.com>
698 1.1.1.5 christos
699 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G1): New.
700 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
701 1.1.1.5 christos MOVW_GOTOFF_G1.
702 1.1.1.4 christos * libbfd.h: Regenerate.
703 1.1.1.5 christos * bfd-in2.h: Regenerate.
704 1.1 skrll
705 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
706 1.1.1.3 christos
707 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Add
708 1.1.1.5 christos BFD_RELOC_AARCH64_LD_64_GOTOFF_LO15 support.
709 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
710 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise
711 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
712 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise
713 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Calculate offset within GOT.
714 1.1.1.5 christos
715 1.1.1.5 christos 2015-10-02 Renlin Li <renlin.li (a] arm.com>
716 1.1.1.5 christos
717 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Change if to
718 1.1.1.5 christos switch statement.
719 1.1.1.5 christos
720 1.1.1.5 christos 2015-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
721 1.1.1.5 christos
722 1.1.1.5 christos PR ld/19031
723 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_check_relocs): Set
724 1.1.1.5 christos pointer_equality_needed for R_X86_64_PC32 reloc in non-code
725 1.1.1.5 christos sections.
726 1.1.1.3 christos
727 1.1.1.5 christos 2015-10-01 Renlin Li <renlin.li (a] arm.com>
728 1.1.1.3 christos
729 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_output_plt_map): Remove.
730 1.1.1.5 christos (elfNN_aarch64_output_arch_local_syms): Emit AARCH64_MAP_INSN once.
731 1.1.1.3 christos
732 1.1.1.5 christos 2015-10-01 Kaz Kojima <kkojima (a] rr.iij4u.or.jp>
733 1.1.1.3 christos
734 1.1.1.5 christos * config.bfd (targ_selvecs): Remove sh_elf32_vec and
735 1.1.1.5 christos sh_elf32_le_vec from sh*-*-linux cases.
736 1.1.1.3 christos
737 1.1.1.5 christos 2015-10-01 Alan Modra <amodra (a] gmail.com>
738 1.1.1.3 christos
739 1.1.1.5 christos PR ld/19013
740 1.1.1.5 christos * elflink.c (_bfd_elf_merge_sections): Revert last change.
741 1.1.1.3 christos
742 1.1.1.5 christos 2015-09-30 H.J. Lu <hongjiu.lu (a] intel.com>
743 1.1.1.3 christos
744 1.1.1.5 christos PR ld/19031
745 1.1.1.5 christos * elf32-i386.c (elf_i386_check_relocs): Set
746 1.1.1.5 christos pointer_equality_needed for R_386_PC32 reloc in non-code
747 1.1.1.5 christos sections.
748 1.1.1.3 christos
749 1.1.1.5 christos 2015-09-30 H.J. Lu <hongjiu.lu (a] intel.com>
750 1.1.1.3 christos
751 1.1.1.5 christos PR ld/19013
752 1.1.1.5 christos * elflink.c (_bfd_elf_merge_sections): Only merge input bfds
753 1.1.1.5 christos that have the compatible ELF machine code with the output bfd.
754 1.1.1.3 christos
755 1.1.1.5 christos 2015-09-30 Alan Modra <amodra (a] gmail.com>
756 1.1.1.3 christos
757 1.1.1.5 christos PR ld/19013
758 1.1.1.5 christos * elflink.c (_bfd_elf_merge_sections): Only merge input bfds that
759 1.1.1.5 christos will be handled by elf_link_input_bfd. Rename abfd param to obfd.
760 1.1.1.5 christos
761 1.1.1.5 christos 2015-09-30 Rich Felker <dalias (a] libc.org>
762 1.1.1.5 christos
763 1.1.1.5 christos * config.bfd (targ_selvecs): Add fdpic and misc targets
764 1.1.1.5 christos for sh*-*-linux*.
765 1.1.1.5 christos
766 1.1.1.5 christos 2015-09-29 Andrew Stubbs <ams (a] codesourcery.com>
767 1.1.1.5 christos H.J. Lu <hongjiu.lu (a] intel.com>
768 1.1.1.5 christos
769 1.1.1.5 christos PR binutils/19020
770 1.1.1.5 christos * bfd.c (bfd_convert_section_contents): Add ptr_size parameter.
771 1.1.1.4 christos * bfd-in2.h: Regenerated.
772 1.1.1.3 christos
773 1.1.1.5 christos 2015-08-11 Peter Zotov <whitequark (a] whitequark.org>
774 1.1.1.3 christos
775 1.1.1.5 christos PR ld/18759
776 1.1.1.5 christos * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
777 1.1.1.5 christos (R_OR1K_16_PCREL): Likewise.
778 1.1.1.5 christos (R_OR1K_8_PCREL): Likewise.
779 1.1.1.5 christos
780 1.1.1.5 christos 2015-09-23 Nick Clifton <nickc (a] redhat.com>
781 1.1.1.5 christos
782 1.1.1.5 christos * bout.c (b_out_slurp_reloc_table): Cast constant to unsigned in
783 1.1.1.5 christos order to avoid problems with left shifting negative values.
784 1.1.1.5 christos (abs32code): Likewise.
785 1.1.1.5 christos * mach-o.c (FILE_ALIGN): Likewise.
786 1.1.1.5 christos * coff-rs6000.c (xcoff_debug_sections): Delete unused static
787 1.1.1.5 christos array.
788 1.1.1.5 christos * elf32-visium.c (visium_reloc_map): Likewise.
789 1.1.1.5 christos * elf32-arm.c (elf32_arm_final_link_relocate): Remove useless
790 1.1.1.5 christos calls to abs function.
791 1.1.1.5 christos * elf32-frv.c (_frvfdpic_relax_tls_entries): Likewise.
792 1.1.1.5 christos * elf32-score.c (score_elf_final_link_relocate): Likewise.
793 1.1.1.5 christos * elf32-score7.c (score_elf_final_link_relocate): Likewise.
794 1.1.1.5 christos * elf32-i860.c (i860_howto_pc26_reloc): Use multiplication instead
795 1.1.1.5 christos of shifting to create a negative mask.
796 1.1.1.5 christos * elf32-msp430.c (elf_backend_special_sections): Define.
797 1.1.1.5 christos * elfxx-mips.c (got_ofst_reloc_p): Delete unused function.
798 1.1.1.5 christos (got_hi16_reloc_p): Delete unused function.
799 1.1.1.5 christos * ppcboot.c (ppcboot_bfd_print_private_bfd_data): Fix test of
800 1.1.1.5 christos partition name.
801 1.1.1.5 christos
802 1.1.1.5 christos 2015-09-23 Nick Clifton <nickc (a] redhat.com>
803 1.1.1.5 christos
804 1.1.1.5 christos PR binutils/15835
805 1.1.1.5 christos * elf-bfd.h (struct elf_section_list): New structure.
806 1.1.1.5 christos (struct elf_obj_tdata): Replace symtab_shndx_hdr with
807 1.1.1.5 christos symtab_shndx_list. Delete symtab_shndx_section.
808 1.1.1.5 christos (elf_symtab_shndx): Replace macro with elf_symtab_shndx_list.
809 1.1.1.5 christos * elf.c (bfd_elf_get_syms): If symtab index sections are present,
810 1.1.1.5 christos scan them for the section that matches the provided symbol table.
811 1.1.1.5 christos (bfd_section_from_shdr): Record all SHT_SYMTAB_SHNDX sections.
812 1.1.1.5 christos (assign_section_numbers): Use the first symtab index table in the
813 1.1.1.5 christos list.
814 1.1.1.5 christos (_bfd_elf_compute_section_file_positions): Replace use of
815 1.1.1.5 christos symtab_shndx_hdr with use of symtab_shndx_list.
816 1.1.1.5 christos (find_section_in_list): New function.
817 1.1.1.5 christos (assign_file_postions_except_relocs): Use new function.
818 1.1.1.5 christos (_bfd_elf_copy_private_symbol_data): Likewise.
819 1.1.1.5 christos (swap_out_syms): Handle multiple symbol table index sections.
820 1.1.1.5 christos * elf32-m32c.c (m32c_elf_relax_section): Replace use of
821 1.1.1.5 christos symtab_shndx_hdr with use of symtab_shndx_list.
822 1.1.1.5 christos * elf32-rl78.c (rl78_elf_relax_section): Likewise.
823 1.1.1.5 christos * elf32-rx.c (rx_relax_section): Likewise.
824 1.1.1.5 christos * elf32-v850.c (v850_elf_relax_delete_bytes): Likewise.
825 1.1.1.5 christos * elflink.c (bfd_elf_final_link): Likewise.
826 1.1.1.5 christos
827 1.1.1.5 christos 2015-09-21 H.J. Lu <hongjiu.lu (a] intel.com>
828 1.1.1.5 christos
829 1.1.1.5 christos * bfd.c (bfd_update_compression_header): Use bfd_put_32 on
830 1.1.1.5 christos ch_type.
831 1.1.1.5 christos (bfd_check_compression_header): Use bfd_get_32 on ch_type.
832 1.1.1.5 christos (bfd_convert_section_contents): Use bfd_get_32 and bfd_put_32
833 1.1.1.5 christos on ch_type.
834 1.1.1.5 christos
835 1.1.1.5 christos 2015-09-20 Rich Felker <dalias (a] libc.org>
836 1.1.1.5 christos
837 1.1.1.5 christos * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
838 1.1.1.5 christos .interp when info->nointerp.
839 1.1.1.5 christos (bfd_elf_size_dynamic_sections): Adjust assert.
840 1.1.1.5 christos * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't size .interp
841 1.1.1.5 christos when info->nointerp.
842 1.1.1.5 christos * elf32-bfin.c (elf32_bfinfdpic_size_dynamic_sections): Likewise.
843 1.1.1.5 christos * elf32-cr16.c (_bfd_cr16_elf_size_dynamic_sections): Likewise.
844 1.1.1.5 christos * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
845 1.1.1.5 christos * elf32-frv.c (elf32_frvfdpic_size_dynamic_sections): Likewise.
846 1.1.1.5 christos * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
847 1.1.1.5 christos * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
848 1.1.1.5 christos * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
849 1.1.1.5 christos * elf32-lm32.c (lm32_elf_size_dynamic_sections): Likewise.
850 1.1.1.5 christos * elf32-m32r.c (m32r_elf_size_dynamic_sections): Likewise.
851 1.1.1.5 christos * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
852 1.1.1.5 christos * elf32-metag.c (elf_metag_size_dynamic_sections): Likewise.
853 1.1.1.5 christos * elf32-nds32.c (nds32_elf_size_dynamic_sections): Likewise.
854 1.1.1.5 christos * elf32-nios2.c (nios2_elf32_size_dynamic_sections): Likewise.
855 1.1.1.5 christos * elf32-or1k.c (or1k_elf_size_dynamic_sections): Likewise.
856 1.1.1.5 christos * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
857 1.1.1.5 christos * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
858 1.1.1.5 christos * elf32-score.c (s3_bfd_score_elf_size_dynamic_sections): Likewise.
859 1.1.1.5 christos * elf32-score7.c (s7_bfd_score_elf_size_dynamic_sections): Likewise.
860 1.1.1.5 christos * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
861 1.1.1.5 christos * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Likewise.
862 1.1.1.5 christos * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Likewise.
863 1.1.1.5 christos * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
864 1.1.1.5 christos * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise.
865 1.1.1.5 christos * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
866 1.1.1.5 christos * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
867 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Likewise.
868 1.1.1.5 christos * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
869 1.1.1.5 christos * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
870 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
871 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Likewise.
872 1.1.1.5 christos * elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
873 1.1.1.5 christos * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
874 1.1.1.5 christos * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
875 1.1.1.5 christos * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): Likewise.
876 1.1.1.3 christos
877 1.1.1.5 christos 2015-09-18 Doug Evans <xdje42 (a] gmail.com>
878 1.1.1.3 christos
879 1.1.1.5 christos * targets.c (enum bfd_flavour): Add comment.
880 1.1.1.5 christos (bfd_flavour_name): New function.
881 1.1.1.5 christos * bfd-in2.h: Regenerate.
882 1.1.1.3 christos
883 1.1.1.5 christos 2015-09-18 Alan Modra <amodra (a] gmail.com>
884 1.1.1.3 christos
885 1.1.1.5 christos * elf64-ppc.h (struct ppc64_elf_params <tls_get_addr_opt>): Rename
886 1.1.1.5 christos from no_tls_get_addr_opt.
887 1.1.1.5 christos * elf64-ppc.c: Update for rename and inversion of tls_get_addr_opt.
888 1.1.1.5 christos (ppc64_elf_tls_setup): Set tls_get_addr_opt to 0 only when at
889 1.1.1.5 christos default of -1.
890 1.1.1.3 christos
891 1.1.1.5 christos 2015-09-17 Alan Modra <amodra (a] gmail.com>
892 1.1.1.3 christos
893 1.1.1.5 christos PR 18867
894 1.1.1.5 christos * elflink.c (elf_link_adjust_relocs): Correct start of insertion
895 1.1.1.5 christos sort main loop.
896 1.1.1.3 christos
897 1.1.1.5 christos 2015-09-16 Alan Modra <amodra (a] gmail.com>
898 1.1.1.3 christos
899 1.1.1.5 christos PR 18867
900 1.1.1.5 christos * elflink.c (elf_link_adjust_relocs): Modify insertion sort to
901 1.1.1.5 christos insert a run. Return status in case of malloc failure.
902 1.1.1.5 christos Adjust callers.
903 1.1.1.5 christos
904 1.1.1.5 christos 2015-09-15 Max Filippov <jcmvbkbc (a] gmail.com>
905 1.1.1.5 christos
906 1.1.1.5 christos * elf32-xtensa.c (elf_xtensa_be_plt_entry)
907 1.1.1.5 christos (elf_xtensa_le_plt_entry): Emit 'entry' instruction only for
908 1.1.1.5 christos windowed ABI.
909 1.1.1.5 christos (elf_xtensa_create_plt_entry): Generate 'l32r' offsets and fix
910 1.1.1.5 christos up instructions according to ABI.
911 1.1.1.5 christos
912 1.1.1.5 christos 2015-09-14 Rich Felker <dalias (a] libc.org>
913 1.1.1.5 christos
914 1.1.1.5 christos * elf32-sh.c (sh_elf_relocate_section): Set EF_SH_PIC flag
915 1.1.1.5 christos instead of clearing it on cross-section relocations.
916 1.1.1.5 christos (sh_elf_merge_private_data): Clear EF_SH_PIC flag by default.
917 1.1.1.5 christos
918 1.1.1.5 christos 2015-09-12 Helge Deller <deller (a] gmx.de>
919 1.1.1.5 christos
920 1.1.1.5 christos PR ld/18514
921 1.1.1.5 christos * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Set .plt entry
922 1.1.1.5 christos size to 0.
923 1.1.1.5 christos
924 1.1.1.5 christos 2015-09-09 Jiong Wang <jiong.wang (a] arm.com>
925 1.1.1.5 christos
926 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically.
927 1.1.1.5 christos
928 1.1.1.5 christos 2015-09-09 Jiong Wang <jiong.wang (a] arm.com>
929 1.1.1.5 christos
930 1.1.1.5 christos * elfnn-aarch64.c (aarch64_tls_transition_without_check): Support three
931 1.1.1.5 christos TLS local dynamic traditional relocations types.
932 1.1.1.5 christos (elfNN_aarch64_tls_relax): Support TLS local dynamic traditional to
933 1.1.1.5 christos local executable relaxation.
934 1.1.1.5 christos
935 1.1.1.5 christos 2015-09-03 H.J. Lu <hongjiu.lu (a] intel.com>
936 1.1.1.5 christos
937 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Remove
938 1.1.1.5 christos convert_mov_to_lea.
939 1.1.1.5 christos
940 1.1.1.5 christos 2015-09-02 H.J. Lu <hongjiu.lu (a] intel.com>
941 1.1.1.5 christos
942 1.1.1.5 christos * elf32-i386.c (R_386_irelative): Renamed to ...
943 1.1.1.5 christos (R_386_ext2): This.
944 1.1.1.5 christos (R_386_vt_offset): Updated.
945 1.1.1.5 christos (elf_i386_rtype_to_howto): Likewise.
946 1.1.1.5 christos (elf_i386_relocate_section): Likewise.
947 1.1.1.5 christos
948 1.1.1.5 christos 2015-09-01 H.J. Lu <hongjiu.lu (a] intel.com>
949 1.1.1.5 christos
950 1.1.1.5 christos PR ld/18900
951 1.1.1.5 christos * elf32-i386.c (elf_i386_link_hash_entry): Add
952 1.1.1.5 christos func_pointer_refcount.
953 1.1.1.5 christos (elf_i386_link_hash_newfunc): Clear func_pointer_refcount.
954 1.1.1.5 christos (elf_i386_get_local_sym_hash): Likewise.
955 1.1.1.5 christos (elf_i386_copy_indirect_symbol): Also copy
956 1.1.1.5 christos func_pointer_refcount.
957 1.1.1.5 christos (elf_i386_check_relocs): Increment func_pointer_refcount.
958 1.1.1.5 christos (elf_i386_gc_sweep_hook): Decrement func_pointer_refcount.
959 1.1.1.5 christos (elf_i386_allocate_dynrelocs): Don't create the PLT entry if
960 1.1.1.5 christos there are only function pointer relocations which can be
961 1.1.1.5 christos resolved at run-time. Keep dynanamic relocations for run-time
962 1.1.1.5 christos function pointer initialization.
963 1.1.1.5 christos (elf_i386_relocate_section): Copy dynamic function pointer
964 1.1.1.5 christos relocations.
965 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_link_hash_entry): Add
966 1.1.1.5 christos func_pointer_refcount.
967 1.1.1.5 christos (elf_x86_64_link_hash_newfunc): Clear func_pointer_refcount.
968 1.1.1.5 christos (elf_x86_64_get_local_sym_hash): Likewise.
969 1.1.1.5 christos (elf_x86_64_copy_indirect_symbol): Also copy
970 1.1.1.5 christos func_pointer_refcount.
971 1.1.1.5 christos (elf_x86_64_check_relocs): Increment func_pointer_refcount.
972 1.1.1.5 christos (elf_x86_64_gc_sweep_hook): Decrement func_pointer_refcount.
973 1.1.1.5 christos (elf_x86_64_allocate_dynrelocs): Don't create the PLT entry if
974 1.1.1.5 christos there are only function pointer relocations which can be
975 1.1.1.5 christos resolved at run-time. Keep dynanamic relocations for run-time
976 1.1.1.5 christos function pointer initialization.
977 1.1.1.5 christos (elf_x86_64_relocate_section): Copy dynamic function pointer
978 1.1.1.5 christos relocations.
979 1.1.1.5 christos
980 1.1.1.5 christos 2015-09-01 Alan Modra <amodra (a] gmail.com>
981 1.1.1.5 christos
982 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_maybe_function_sym): Adjust symbol value
983 1.1.1.5 christos if .opd section has been edited.
984 1.1.1.5 christos
985 1.1.1.5 christos 2015-09-01 Alan Modra <amodra (a] gmail.com>
986 1.1.1.5 christos
987 1.1.1.5 christos PR 18878
988 1.1.1.5 christos * elf64-ppc.c (ARRAY_SIZE): Define. Use throughout.
989 1.1.1.5 christos (enum ppc_stub_type): Add ppc_stub_save_res.
990 1.1.1.5 christos (struct map_stub): Add "next" and "needs_save_res".
991 1.1.1.5 christos (struct ppc_link_hash_entry): Add "save_res" flag.
992 1.1.1.5 christos (struct ppc_link_hash_table): Add "group".
993 1.1.1.5 christos (sfpr_define): Add stub_sec param. Define symbol in stub_sec if
994 1.1.1.5 christos stub_sec is non-null. Set "save_res".
995 1.1.1.5 christos (save_res_funcs): Make file scope, rename from funcs. Adjust uses.
996 1.1.1.5 christos (ppc64_elf_adjust_dynamic_symbol): Prohibit plt call to save_res syms.
997 1.1.1.5 christos (ppc_build_one_stub): Handle ppc_stub_save_res.
998 1.1.1.5 christos (ppc_size_one_stub): Set stub type to ppc_size_one_stub on finding
999 1.1.1.5 christos stub for linker defined save_res sym.
1000 1.1.1.5 christos (group_sections): Init new fields of struct map_stub.
1001 1.1.1.5 christos (ppc64_elf_size_stubs): Reserve space for save/restore func copy.
1002 1.1.1.5 christos (ppc64_elf_build_stubs): Copy save/restore funcs to groups. Emit
1003 1.1.1.5 christos alias syms too.
1004 1.1.1.5 christos (ppc64_elf_relocate_section): Set destination for ppc_stub_save_res.
1005 1.1.1.5 christos
1006 1.1.1.5 christos 2015-08-31 Alan Modra <amodra (a] gmail.com>
1007 1.1.1.5 christos
1008 1.1.1.5 christos * elf64-ppc.c (get_r2off): Return -1 on error.
1009 1.1.1.5 christos (ppc_build_one_stub): Adjust for get_r2off change. Don't emit
1010 1.1.1.5 christos addi r2,r2,0 on r2off stubs when the low 16-bit delta is zero.
1011 1.1.1.5 christos (ppc_size_one_stub): Corresponding size changes for r2off stubs.
1012 1.1.1.5 christos Add condition in test for -R objects.
1013 1.1.1.5 christos
1014 1.1.1.5 christos 2015-08-31 Alan Modra <amodra (a] gmail.com>
1015 1.1.1.5 christos
1016 1.1.1.5 christos * section.c (section_id): Make file scope.
1017 1.1.1.5 christos (bfd_get_next_section_id): New function.
1018 1.1.1.5 christos * elf64-ppc.c (struct map_stub): Remove toc_off field. Move decl.
1019 1.1.1.5 christos (struct ppc_stub_hash_entry): Delete stub_sec and id_sec. Add
1020 1.1.1.5 christos group. Update all uses.
1021 1.1.1.5 christos (struct ppc_link_hash_table): Delete top_id, top_index, and
1022 1.1.1.5 christos input_list. Add sec_info_arr_size. Rename stub_group to
1023 1.1.1.5 christos sec_info, and make group info indirect. Update stub_group refs
1024 1.1.1.5 christos throughout file.
1025 1.1.1.5 christos (ppc_add_stub): Don't look for stub_sec on link_sec stub_group
1026 1.1.1.5 christos entry.
1027 1.1.1.5 christos (ppc_build_one_stub): Delete FIXME.
1028 1.1.1.5 christos (ppc64_elf_setup_section_lists): Size htab->sec_info for all
1029 1.1.1.5 christos sections, not just input sections. Don't create htab->input_list.
1030 1.1.1.5 christos (ppc64_elf_next_input_section): Update to use sec_info union as
1031 1.1.1.5 christos list pointer.
1032 1.1.1.5 christos (PREV_SEC): Delete.
1033 1.1.1.5 christos (group_sections): Pass "info" param rather than "htab". Iterate
1034 1.1.1.5 christos over output sections rather than input_list. Use sec_info union
1035 1.1.1.5 christos as list pointers. Alloc atruct map_stub, and return fail status.
1036 1.1.1.5 christos * bfd-in2.h: Regenerate.
1037 1.1.1.5 christos
1038 1.1.1.5 christos 2015-08-31 Alan Modra <amodra (a] gmail.com>
1039 1.1.1.5 christos
1040 1.1.1.5 christos * elflink.c (elf_sort_symbol): Use correctly sized type for
1041 1.1.1.5 christos calculating signed section->id difference.
1042 1.1.1.5 christos (elf_link_add_object_symbols): Likewise.
1043 1.1.1.5 christos * pef.c (bfd_pef_scan_start_address): Warning fix.
1044 1.1.1.5 christos * vms-alpha.c (vms_new_section_hook): Likewise.
1045 1.1.1.5 christos
1046 1.1.1.5 christos 2015-08-31 Alan Modra <amodra (a] gmail.com>
1047 1.1.1.5 christos
1048 1.1.1.5 christos * elf32-nds32.c (nds32_convert_32_to_16_alu1): Warning fix.
1049 1.1.1.5 christos (find_relocs_at_address_addr): Make "reloc_type" an enum.
1050 1.1.1.5 christos (nds32_elf_relax_delete_blanks): Warning fix.
1051 1.1.1.5 christos (nds32_elf_relax_loadstore): Correct loop bound.
1052 1.1.1.5 christos
1053 1.1.1.5 christos 2015-08-31 Alan Modra <amodra (a] gmail.com>
1054 1.1.1.5 christos
1055 1.1.1.5 christos * section.c (struct bfd_section): Make "id" and "index" unsigned.
1056 1.1.1.5 christos * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust local var to suit.
1057 1.1.1.5 christos * elf.c (elf_map_symbols): Likewise.
1058 1.1.1.5 christos * elf64-ppc.c (sym_exists_at): Make "id" param unsigned.
1059 1.1.1.5 christos (struct ppc_link_hash_table): Make "top_id" and "top_index" unsigned.
1060 1.1.1.5 christos (ppc64_elf_setup_section_lists): Ditto for local vars.
1061 1.1.1.5 christos * elf32-arm.c: Similarly to elf64-ppc.c.
1062 1.1.1.5 christos * elf32-avr.c: Likewise.
1063 1.1.1.5 christos * elf32-hppa.c: Likewise.
1064 1.1.1.4 christos * elf32-m68hc1x.c: Likewise.
1065 1.1.1.5 christos * elf32-metag.c: Likewise.
1066 1.1.1.5 christos * elf32-nios2.c: Likewise.
1067 1.1.1.5 christos * elfnn-aarch64.c: Likewise.
1068 1.1.1.5 christos * simple.c (struct saved_offsets): Make "section_count" unsigned.
1069 1.1.1.5 christos * bfd-in2.h: Regenerate.
1070 1.1.1.4 christos
1071 1.1.1.5 christos 2015-08-27 Alan Modra <amodra (a] gmail.com>
1072 1.1.1.4 christos
1073 1.1.1.5 christos PR 18867
1074 1.1.1.5 christos * elf64-alpha.c (elf64_alpha_sort_relocs_p): New function.
1075 1.1.1.5 christos (elf_backend_sort_relocs_p): Define.
1076 1.1.1.5 christos
1077 1.1.1.5 christos 2015-08-26 Alan Modra <amodra (a] gmail.com>
1078 1.1.1.5 christos
1079 1.1.1.5 christos PR 18867
1080 1.1.1.5 christos * elflink.c (cmp_ext32l_r_offset, cmp_ext32b_r_offset): Delete.
1081 1.1.1.5 christos (cmp_ext64l_r_offset, cmp_ext64b_r_offset): Delete.
1082 1.1.1.5 christos (ext32l_r_offset, ext32b_r_offset, ext64l_r_offset, ext64b_r_offset):
1083 1.1.1.5 christos New functions.
1084 1.1.1.5 christos (elf_link_adjust_relocs): Use an insertion sort to sort relocs.
1085 1.1.1.5 christos
1086 1.1.1.5 christos 2015-08-26 Matthew Fortune <matthew.fortune (a] imgtec.com>
1087 1.1.1.5 christos
1088 1.1.1.5 christos PR ld/18401
1089 1.1.1.5 christos * elfxx-mips.c (bfd_mips_isa_ext_mach): New function: Converts an
1090 1.1.1.5 christos ISA value to a bfd machine number.
1091 1.1.1.5 christos (bfd_mips_isa_ext): Update the ISA level and revision if
1092 1.1.1.5 christos necessary. Use mips_mach_extends_p to decide if the ISA extension
1093 1.1.1.5 christos needs to be set.
1094 1.1.1.5 christos (_bfd_mips_elf_merge_private_bfd_data): Allow the ISA extension to
1095 1.1.1.5 christos be inferred from the ABI setting. Set the ISA level from the
1096 1.1.1.5 christos maximum of the incoming and outgoing ISA levels.
1097 1.1.1.5 christos
1098 1.1.1.5 christos 2015-08-25 Nick Clifton <nickc (a] redhat.com>
1099 1.1.1.5 christos
1100 1.1.1.5 christos PR binutils/18854
1101 1.1.1.5 christos * elf.c (bfd_section_from_shdr): Replace assertions with warnings
1102 1.1.1.5 christos about multiple symbol tables.
1103 1.1.1.5 christos
1104 1.1.1.5 christos 2015-08-25 Renlin Li <renlin.li (a] arm.com>
1105 1.1.1.5 christos
1106 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): Use LP64 instead of
1107 1.1.1.5 christos ILP64.
1108 1.1.1.5 christos * bfd-in2.h: Regenerate.
1109 1.1.1.4 christos
1110 1.1.1.5 christos 2015-08-22 Alan Modra <amodra (a] gmail.com>
1111 1.1.1.4 christos
1112 1.1.1.5 christos * elf.c (_bfd_elf_slurp_version_tables): Always init vd_nodename.
1113 1.1.1.5 christos Don't copy fields not set by _bfd_elf_swap_verdef_in.
1114 1.1.1.5 christos
1115 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1116 1.1.1.5 christos
1117 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
1118 1.1.1.5 christos types, including BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
1119 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
1120 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
1121 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
1122 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
1123 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
1124 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
1125 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
1126 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1127 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1128 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1129 1.1.1.5 christos
1130 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1131 1.1.1.5 christos
1132 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
1133 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
1134 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
1135 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
1136 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
1137 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC.
1138 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
1139 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): New entries.
1140 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
1141 1.1.1.5 christos * bfd-in2.h: Regenerate.
1142 1.1.1.5 christos * libbfd.h: Regenerate.
1143 1.1.1.5 christos
1144 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1145 1.1.1.5 christos
1146 1.1.1.5 christos PR ld/18276
1147 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
1148 1.1.1.5 christos types, including BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
1149 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
1150 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
1151 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
1152 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
1153 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2.
1154 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1155 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1156 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1157 1.1.1.5 christos
1158 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1159 1.1.1.5 christos
1160 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
1161 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
1162 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
1163 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
1164 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
1165 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2): New entries.
1166 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
1167 1.1.1.5 christos * bfd-in2.h: Regenerate.
1168 1.1.1.5 christos * libbfd.h: Regenerate.
1169 1.1.1.5 christos
1170 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1171 1.1.1.5 christos
1172 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
1173 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
1174 1.1.1.5 christos (aarch64_reloc_got_type): Likewise.
1175 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1176 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
1177 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1178 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1179 1.1.1.5 christos
1180 1.1.1.5 christos 2015-08-19 Jiong Wang <jiong.wang (a] arm.com>
1181 1.1.1.5 christos
1182 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): New entry.
1183 1.1.1.5 christos * bfd-in2.h: Regenerate.
1184 1.1.1.5 christos * libbfd.h: Regenerate.
1185 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1186 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
1187 1.1.1.5 christos
1188 1.1.1.5 christos 2015-08-19 Alan Modra <amodra (a] gmail.com>
1189 1.1.1.5 christos
1190 1.1.1.5 christos * elf-s390-common.c: Simplify expressions using
1191 1.1.1.5 christos bfd_linke_executable, bfd_link_pie and bfd_link_pic.
1192 1.1.1.5 christos * elf32-arm.c: Likewise.
1193 1.1.1.4 christos * elf32-bfin.c: Likewise.
1194 1.1.1.4 christos * elf32-frv.c: Likewise.
1195 1.1.1.4 christos * elf32-m68k.c: Likewise.
1196 1.1.1.5 christos * elf32-nios2.c: Likewise.
1197 1.1.1.4 christos * elf32-ppc.c: Likewise.
1198 1.1.1.4 christos * elf32-s390.c: Likewise.
1199 1.1.1.4 christos * elf32-sh.c: Likewise.
1200 1.1.1.4 christos * elf64-alpha.c: Likewise.
1201 1.1.1.4 christos * elf64-ppc.c: Likewise.
1202 1.1.1.4 christos * elf64-s390.c: Likewise.
1203 1.1.1.4 christos * elflink.c: Likewise.
1204 1.1.1.3 christos
1205 1.1.1.5 christos 2015-08-18 Jiong Wang <jiong.wang (a] arm.com>
1206 1.1.1.3 christos
1207 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Delete useless check.
1208 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
1209 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
1210 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
1211 1.1.1.5 christos
1212 1.1.1.5 christos 2015-08-18 H.J. Lu <hongjiu.lu (a] intel.com>
1213 1.1.1.5 christos
1214 1.1.1.5 christos PR ld/18841
1215 1.1.1.5 christos * elf-bfd.h (elf_link_hash_table): Add dynsym.
1216 1.1.1.5 christos * elf32-i386.c (elf_i386_reloc_type_class): Return
1217 1.1.1.5 christos reloc_class_ifunc for relocation against STT_GNU_IFUNC symbol.
1218 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
1219 1.1.1.5 christos * elflink.c (_bfd_elf_link_create_dynamic_sections): Set dynsym.
1220 1.1.1.5 christos (bfd_elf_size_dynsym_hash_dynstr): Use dynsym.
1221 1.1.1.5 christos (elf_final_link_info): Remove dynsym_sec.
1222 1.1.1.5 christos (elf_link_output_extsym): Replace dynsym_sec with dynsym.
1223 1.1.1.5 christos (bfd_elf_final_link): Remove reference to dynsym_sec. Replace
1224 1.1.1.5 christos dynsym_sec with dynsym.
1225 1.1.1.5 christos
1226 1.1.1.5 christos 2015-08-18 H.J. Lu <hongjiu.lu (a] intel.com>
1227 1.1.1.5 christos
1228 1.1.1.5 christos * bfd/aoutx.h: Replace shared, executable, relocatable and pie
1229 1.1.1.5 christos fields with bfd_link_executable, bfd_link_dll,
1230 1.1.1.5 christos bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
1231 1.1.1.5 christos * bfd/bout.c: Likewise.
1232 1.1.1.5 christos * bfd/coff-alpha.c: Likewise.
1233 1.1.1.5 christos * bfd/coff-arm.c: Likewise.
1234 1.1.1.5 christos * bfd/coff-i386.c: Likewise.
1235 1.1.1.5 christos * bfd/coff-i960.c: Likewise.
1236 1.1.1.5 christos * bfd/coff-m68k.c: Likewise.
1237 1.1.1.5 christos * bfd/coff-mcore.c: Likewise.
1238 1.1.1.5 christos * bfd/coff-mips.c: Likewise.
1239 1.1.1.5 christos * bfd/coff-ppc.c: Likewise.
1240 1.1.1.5 christos * bfd/coff-rs6000.c: Likewise.
1241 1.1.1.5 christos * bfd/coff-sh.c: Likewise.
1242 1.1.1.5 christos * bfd/coff-tic80.c: Likewise.
1243 1.1.1.5 christos * bfd/coff-x86_64.c: Likewise.
1244 1.1.1.5 christos * bfd/coff64-rs6000.c: Likewise.
1245 1.1.1.5 christos * bfd/coffgen.c: Likewise.
1246 1.1.1.5 christos * bfd/cofflink.c: Likewise.
1247 1.1.1.5 christos * bfd/ecoff.c: Likewise.
1248 1.1.1.5 christos * bfd/ecofflink.c: Likewise.
1249 1.1.1.5 christos * bfd/elf-bfd.h: Likewise.
1250 1.1.1.5 christos * bfd/elf-eh-frame.c: Likewise.
1251 1.1.1.5 christos * bfd/elf-ifunc.c: Likewise.
1252 1.1.1.5 christos * bfd/elf-m10200.c: Likewise.
1253 1.1.1.5 christos * bfd/elf-m10300.c: Likewise.
1254 1.1.1.5 christos * bfd/elf-s390-common.c: Likewise.
1255 1.1.1.5 christos * bfd/elf-vxworks.c: Likewise.
1256 1.1.1.5 christos * bfd/elf.c: Likewise.
1257 1.1.1.5 christos * bfd/elf32-arm.c: Likewise.
1258 1.1.1.5 christos * bfd/elf32-avr.c: Likewise.
1259 1.1.1.5 christos * bfd/elf32-bfin.c: Likewise.
1260 1.1.1.5 christos * bfd/elf32-cr16.c: Likewise.
1261 1.1.1.5 christos * bfd/elf32-cr16c.c: Likewise.
1262 1.1.1.5 christos * bfd/elf32-cris.c: Likewise.
1263 1.1.1.5 christos * bfd/elf32-crx.c: Likewise.
1264 1.1.1.5 christos * bfd/elf32-d10v.c: Likewise.
1265 1.1.1.5 christos * bfd/elf32-dlx.c: Likewise.
1266 1.1.1.5 christos * bfd/elf32-epiphany.c: Likewise.
1267 1.1.1.5 christos * bfd/elf32-fr30.c: Likewise.
1268 1.1.1.5 christos * bfd/elf32-frv.c: Likewise.
1269 1.1.1.5 christos * bfd/elf32-ft32.c: Likewise.
1270 1.1.1.5 christos * bfd/elf32-h8300.c: Likewise.
1271 1.1.1.5 christos * bfd/elf32-hppa.c: Likewise.
1272 1.1.1.5 christos * bfd/elf32-i370.c: Likewise.
1273 1.1.1.5 christos * bfd/elf32-i386.c: Likewise.
1274 1.1.1.5 christos * bfd/elf32-i860.c: Likewise.
1275 1.1.1.5 christos * bfd/elf32-ip2k.c: Likewise.
1276 1.1.1.5 christos * bfd/elf32-iq2000.c: Likewise.
1277 1.1.1.5 christos * bfd/elf32-lm32.c: Likewise.
1278 1.1.1.5 christos * bfd/elf32-m32c.c: Likewise.
1279 1.1.1.5 christos * bfd/elf32-m32r.c: Likewise.
1280 1.1.1.5 christos * bfd/elf32-m68hc11.c: Likewise.
1281 1.1.1.5 christos * bfd/elf32-m68hc1x.c: Likewise.
1282 1.1.1.5 christos * bfd/elf32-m68k.c: Likewise.
1283 1.1.1.5 christos * bfd/elf32-mcore.c: Likewise.
1284 1.1.1.5 christos * bfd/elf32-mep.c: Likewise.
1285 1.1.1.5 christos * bfd/elf32-metag.c: Likewise.
1286 1.1.1.5 christos * bfd/elf32-microblaze.c: Likewise.
1287 1.1.1.5 christos * bfd/elf32-moxie.c: Likewise.
1288 1.1.1.5 christos * bfd/elf32-msp430.c: Likewise.
1289 1.1.1.5 christos * bfd/elf32-mt.c: Likewise.
1290 1.1.1.5 christos * bfd/elf32-nds32.c: Likewise.
1291 1.1.1.5 christos * bfd/elf32-nios2.c: Likewise.
1292 1.1.1.5 christos * bfd/elf32-or1k.c: Likewise.
1293 1.1.1.5 christos * bfd/elf32-ppc.c: Likewise.
1294 1.1.1.5 christos * bfd/elf32-rl78.c: Likewise.
1295 1.1.1.5 christos * bfd/elf32-rx.c: Likewise.
1296 1.1.1.5 christos * bfd/elf32-s390.c: Likewise.
1297 1.1.1.5 christos * bfd/elf32-score.c: Likewise.
1298 1.1.1.5 christos * bfd/elf32-score7.c: Likewise.
1299 1.1.1.5 christos * bfd/elf32-sh-symbian.c: Likewise.
1300 1.1.1.5 christos * bfd/elf32-sh.c: Likewise.
1301 1.1.1.5 christos * bfd/elf32-sh64.c: Likewise.
1302 1.1.1.5 christos * bfd/elf32-spu.c: Likewise.
1303 1.1.1.5 christos * bfd/elf32-tic6x.c: Likewise.
1304 1.1.1.5 christos * bfd/elf32-tilepro.c: Likewise.
1305 1.1.1.5 christos * bfd/elf32-v850.c: Likewise.
1306 1.1.1.5 christos * bfd/elf32-vax.c: Likewise.
1307 1.1.1.5 christos * bfd/elf32-visium.c: Likewise.
1308 1.1.1.5 christos * bfd/elf32-xc16x.c: Likewise.
1309 1.1.1.5 christos * bfd/elf32-xstormy16.c: Likewise.
1310 1.1.1.5 christos * bfd/elf32-xtensa.c: Likewise.
1311 1.1.1.5 christos * bfd/elf64-alpha.c: Likewise.
1312 1.1.1.5 christos * bfd/elf64-hppa.c: Likewise.
1313 1.1.1.5 christos * bfd/elf64-ia64-vms.c: Likewise.
1314 1.1.1.5 christos * bfd/elf64-mmix.c: Likewise.
1315 1.1.1.5 christos * bfd/elf64-ppc.c: Likewise.
1316 1.1.1.5 christos * bfd/elf64-s390.c: Likewise.
1317 1.1.1.5 christos * bfd/elf64-sh64.c: Likewise.
1318 1.1.1.5 christos * bfd/elf64-x86-64.c: Likewise.
1319 1.1.1.5 christos * bfd/elflink.c: Likewise.
1320 1.1.1.5 christos * bfd/elfnn-aarch64.c: Likewise.
1321 1.1.1.5 christos * bfd/elfnn-ia64.c: Likewise.
1322 1.1.1.5 christos * bfd/elfxx-mips.c: Likewise.
1323 1.1.1.5 christos * bfd/elfxx-sparc.c: Likewise.
1324 1.1.1.5 christos * bfd/elfxx-tilegx.c: Likewise.
1325 1.1.1.5 christos * bfd/i386linux.c: Likewise.
1326 1.1.1.5 christos * bfd/linker.c: Likewise.
1327 1.1.1.5 christos * bfd/m68klinux.c: Likewise.
1328 1.1.1.5 christos * bfd/pdp11.c: Likewise.
1329 1.1.1.5 christos * bfd/pe-mips.c: Likewise.
1330 1.1.1.5 christos * bfd/peXXigen.c: Likewise.
1331 1.1.1.5 christos * bfd/reloc.c: Likewise.
1332 1.1.1.5 christos * bfd/reloc16.c: Likewise.
1333 1.1.1.5 christos * bfd/sparclinux.c: Likewise.
1334 1.1.1.5 christos * bfd/sunos.c: Likewise.
1335 1.1.1.5 christos * bfd/vms-alpha.c: Likewise.
1336 1.1.1.5 christos * bfd/xcofflink.c: Likewise.
1337 1.1.1.3 christos
1338 1.1.1.5 christos 2015-08-18 Alan Modra <amodra (a] gmail.com>
1339 1.1.1.3 christos
1340 1.1.1.5 christos PR 18667
1341 1.1.1.5 christos * Makefile.am: Use $(SED) in place of sed throughout.
1342 1.1.1.5 christos * Makefile.in: Regenerate.
1343 1.1.1.3 christos
1344 1.1.1.5 christos 2015-08-18 Alan Modra <amodra (a] gmail.com>
1345 1.1.1.3 christos
1346 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't redefine .TOC.
1347 1.1.1.5 christos if already defined, and set linker_def.
1348 1.1.1.5 christos (ppc64_elf_set_toc): Use .TOC. value if defined other than by
1349 1.1.1.5 christos the backend.
1350 1.1.1.3 christos
1351 1.1.1.5 christos 2015-08-14 Alan Modra <amodra (a] gmail.com>
1352 1.1.1.3 christos
1353 1.1.1.5 christos PR ld/18759
1354 1.1.1.5 christos * elf32-or1k.c: Revert 2015-08-11 change.
1355 1.1.1.3 christos
1356 1.1.1.5 christos 2015-08-13 H.J. Lu <hongjiu.lu (a] intel.com>
1357 1.1 skrll
1358 1.1.1.5 christos PR ld/18801
1359 1.1.1.5 christos * elf32-i386.c (elf_i386_size_dynamic_sections): Issue an error
1360 1.1.1.5 christos for read-only segment with dynamic IFUNC relocations.
1361 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
1362 1.1.1.3 christos
1363 1.1.1.5 christos 2015-08-12 Simon Dardis <simon.dardis (a] imgtec.com>
1364 1.1.1.3 christos
1365 1.1.1.5 christos * elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
1366 1.1.1.5 christos (mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
1367 1.1.1.5 christos mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
1368 1.1.1.5 christos Update to use 'or' instead of 'addu/daddu'.
1369 1.1.1.5 christos (_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
1370 1.1.1.5 christos (move_insns_32): Reorder table.
1371 1.1.1.3 christos
1372 1.1.1.5 christos 2015-08-11 H.J. Lu <hongjiu.lu (a] intel.com>
1373 1.1.1.3 christos
1374 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
1375 1.1.1.5 christos relocations in debug sections.
1376 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
1377 1.1.1.3 christos
1378 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1379 1.1.1.3 christos
1380 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Improve warning
1381 1.1.1.5 christos message for R_AARCH64_LD64_GOTPAGE_LO15/R_AARCH64_LD32_GOTPAGE_LO14.
1382 1.1.1.3 christos
1383 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1384 1.1.1.3 christos
1385 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): New.
1386 1.1.1.5 christos (aarch64_can_relax_tls): Use the new IS_AARCH64_TLS_RELAX_RELOC.
1387 1.1.1.3 christos
1388 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1389 1.1.1.3 christos
1390 1.1.1.5 christos * bfd/elfnn-aarch64.c (aarch64_type_of_stub): New parameter "sym_sec".
1391 1.1.1.5 christos Loose the check for symbol from ABS section.
1392 1.1.1.5 christos (elfNN_aarch64_size_stubs): Pass sym_sec.
1393 1.1.1.3 christos
1394 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1395 1.1.1.3 christos
1396 1.1.1.5 christos PR ld/18668
1397 1.1.1.5 christos * elfnn-aarch64.c (aarch64_type_of_stub): Update destination for
1398 1.1.1.5 christos calls go through plt stub.
1399 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Adjust code logic for CALL26,
1400 1.1.1.5 christos JUMP26 relocation to support inserting veneer for call to plt stub.
1401 1.1.1.3 christos
1402 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1403 1.1.1.3 christos
1404 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
1405 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
1406 1.1.1.5 christos (aarch64_reloc_got_type): Likewise.
1407 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1408 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
1409 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1410 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1411 1.1.1.3 christos
1412 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1413 1.1 skrll
1414 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12): New entry.
1415 1.1.1.5 christos * bfd-in2.h: Regenerate.
1416 1.1.1.5 christos * libbfd.h: Regenerate.
1417 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1418 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
1419 1.1 skrll
1420 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1421 1.1 skrll
1422 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
1423 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
1424 1.1.1.5 christos (aarch64_reloc_got_type): Likewise.
1425 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1426 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
1427 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
1428 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
1429 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1430 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1431 1.1 skrll
1432 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1433 1.1 skrll
1434 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC): New entry.
1435 1.1.1.5 christos * bfd-in2.h: Regenerate.
1436 1.1.1.5 christos * libbfd.h: Regenerate.
1437 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1438 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
1439 1.1 skrll
1440 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1441 1.1 skrll
1442 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
1443 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
1444 1.1.1.5 christos (aarch64_reloc_got_type): Likewise.
1445 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Likewise.
1446 1.1.1.5 christos (elfNN_aarch64_relocate_section): Likewise.
1447 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Likewise.
1448 1.1.1.5 christos (elfNN_aarch64_check_relocs): Likewise.
1449 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1450 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
1451 1.1 skrll
1452 1.1.1.5 christos 2015-08-11 Jiong Wang <jiong.wang (a] arm.com>
1453 1.1 skrll
1454 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21): New entry.
1455 1.1.1.4 christos * bfd-in2.h: Regenerate.
1456 1.1.1.5 christos * libbfd.h: Regenerate.
1457 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1458 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
1459 1.1.1.4 christos
1460 1.1.1.5 christos 2015-08-11 H.J. Lu <hongjiu.lu (a] intel.com>
1461 1.1.1.4 christos
1462 1.1.1.5 christos PR ld/18808
1463 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Skip IFUNC
1464 1.1.1.5 christos relocations in debug sections.
1465 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
1466 1.1 skrll
1467 1.1.1.5 christos 2015-08-11 Peter Zotov <whitequark (a] whitequark.org>
1468 1.1 skrll
1469 1.1.1.5 christos PR ld/18759
1470 1.1.1.5 christos * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
1471 1.1.1.5 christos (R_OR1K_16_PCREL): Likewise.
1472 1.1.1.5 christos (R_OR1K_8_PCREL): Likewise.
1473 1.1.1.5 christos
1474 1.1.1.5 christos 2015-08-11 Nick Clifton <nickc (a] redhat.com>
1475 1.1.1.5 christos
1476 1.1.1.5 christos PR binutils/18747
1477 1.1.1.5 christos * coff-sh.c (_bfd_sh_align_load_span): Fix typo when setting
1478 1.1.1.5 christos opcode count.
1479 1.1.1.5 christos
1480 1.1.1.5 christos PR binutils/18758
1481 1.1.1.5 christos * elf.c (_bfd_elf_setup_sections): Add checks for corrupt section
1482 1.1.1.5 christos group information.
1483 1.1.1.5 christos * peicode.h (pe_ILF_make_a_section): Ensure alignment of the
1484 1.1.1.5 christos used_by_bfd pointer.
1485 1.1.1.5 christos (pe_ILF_build_a_bfd): Ensure alignment of vars.data pointer.
1486 1.1.1.5 christos
1487 1.1.1.5 christos 2015-08-11 H.J. Lu <hongjiu.lu (a] intel.com>
1488 1.1.1.5 christos
1489 1.1.1.5 christos * elf.c (_bfd_elf_copy_private_bfd_data): Fix a typo.
1490 1.1.1.5 christos
1491 1.1.1.5 christos 2015-08-10 H.J. Lu <hongjiu.lu (a] intel.com>
1492 1.1.1.5 christos
1493 1.1.1.5 christos * elf-bfd.h (elf_symbol_version): New enum.
1494 1.1.1.5 christos (elf_link_hash_entry): Replace hidden with versioned.
1495 1.1.1.5 christos * elflink.c (_bfd_elf_merge_symbol): Don't look for symbol
1496 1.1.1.5 christos version if the symbol is unversioned. Initialize versioned.
1497 1.1.1.5 christos (_bfd_elf_add_default_symbol): Don't look for symbol version
1498 1.1.1.5 christos if the symbol is unversioned or hidden. Initialize versioned.
1499 1.1.1.5 christos (elf_collect_hash_codes): Don't look for symbol version if the
1500 1.1.1.5 christos symbol is unversioned.
1501 1.1.1.5 christos (elf_collect_gnu_hash_codes): Likewise.
1502 1.1.1.5 christos (bfd_elf_gc_mark_dynamic_ref_symbol): Likewise.
1503 1.1.1.5 christos (_bfd_elf_link_hash_copy_indirect): Check versioned instead of
1504 1.1.1.5 christos hidden.
1505 1.1.1.5 christos (elf_link_output_extsym): Likewise.
1506 1.1.1.5 christos
1507 1.1.1.5 christos 2015-08-07 H.J. Lu <hongjiu.lu (a] intel.com>
1508 1.1.1.5 christos
1509 1.1.1.5 christos PR binutils/18785
1510 1.1.1.5 christos * elf.c (_bfd_elf_copy_private_bfd_data): When copying the
1511 1.1.1.5 christos sh_link and sh_info fields in stripped section headers, we also
1512 1.1.1.5 christos check if the sh_type, sh_flags, sh_addralign and sh_entsize
1513 1.1.1.5 christos fields of the output section match the output. Since
1514 1.1.1.5 christos --only-keep-debug turns all non-debug sections into SHT_NOBITS
1515 1.1.1.5 christos sections, the output SHT_NOBITS type matches any input type.
1516 1.1.1.5 christos
1517 1.1.1.5 christos 2015-08-07 H.J. Lu <hongjiu.lu (a] intel.com>
1518 1.1.1.5 christos
1519 1.1.1.5 christos PR ld/18720
1520 1.1.1.5 christos * elflink.c (_bfd_elf_merge_symbol): Add a parameter to indicate
1521 1.1.1.5 christos if the new symbol matches the existing one. The new hidden
1522 1.1.1.5 christos versioned symbol matches the existing symbol if they have the
1523 1.1.1.5 christos same symbol version. Update the existing symbol only if they
1524 1.1.1.5 christos match.
1525 1.1.1.5 christos (_bfd_elf_add_default_symbol): Update call to
1526 1.1.1.5 christos _bfd_elf_merge_symbol.
1527 1.1.1.5 christos (_bfd_elf_link_assign_sym_version): Don't set the hidden field
1528 1.1.1.5 christos here.
1529 1.1.1.5 christos (elf_link_add_object_symbols): Override a definition only if the
1530 1.1.1.5 christos new symbol matches the existing one.
1531 1.1.1.5 christos (_bfd_elf_link_hash_copy_indirect): Don't copy any references to
1532 1.1.1.5 christos the hidden versioned symbol.
1533 1.1.1.5 christos (elf_link_output_extsym): Bind a symbol locally when linking
1534 1.1.1.5 christos executable if it is locally defined, hidden versioned, not
1535 1.1.1.5 christos referenced by shared library and not exported. Turn on
1536 1.1.1.5 christos VERSYM_HIDDEN only if the hidden versioned symbol is defined
1537 1.1.1.5 christos locally.
1538 1.1.1.5 christos
1539 1.1.1.5 christos 2015-08-05 Nick Clifton <nickc (a] redhat.com>
1540 1.1.1.5 christos
1541 1.1.1.5 christos * elf.c (_bfd_elf_copy_private_bfd_data): Copy the sh_link and
1542 1.1.1.5 christos sh_info fields of sections whose type has been changed to
1543 1.1.1.5 christos SHT_NOBITS.
1544 1.1.1.5 christos
1545 1.1.1.5 christos 2015-08-04 Yuriy M. Kaminskiy" <yumkam (a] gmail.com>
1546 1.1.1.5 christos Tyler Hicks <tyhicks (a] canonical.com>
1547 1.1.1.5 christos
1548 1.1.1.5 christos PR binutils/18750
1549 1.1.1.5 christos * ihex.c (ihex_scan): Fixes incorrect escape sequence in error message
1550 1.1.1.5 christos and stack overflow when char is signed and \200-\376 was in place of hex
1551 1.1.1.5 christos digit; also fixes \377 was handled as EOF instead of "incorrect character".
1552 1.1.1.5 christos (ihex_read_section): Changed for consistency.
1553 1.1.1.5 christos (ihex_bad_byte): Prevent (now impossible to trigger) stack
1554 1.1.1.5 christos overflow and incorrect escape sequence handling.
1555 1.1.1.5 christos * srec.c (srec_bad_byte): Likewise.
1556 1.1.1.5 christos
1557 1.1.1.5 christos 2015-08-03 Hans-Peter Nilsson <hp (a] axis.com>
1558 1.1.1.5 christos
1559 1.1.1.5 christos * elf32-cris.c (cris_elf_relocate_section)
1560 1.1.1.5 christos (elf_cris_finish_dynamic_symbol, cris_elf_check_relocs)
1561 1.1.1.5 christos (elf_cris_discard_excess_dso_dynamics): Use SYMBOLIC_BIND, not
1562 1.1.1.5 christos just link_info->symbolic, to check if a symbol should be bound
1563 1.1.1.5 christos symbolically.
1564 1.1.1.5 christos
1565 1.1.1.5 christos 2015-07-30 H.J. Lu <hongjiu.lu (a] intel.com>
1566 1.1.1.5 christos
1567 1.1.1.5 christos PR ld/18735
1568 1.1.1.5 christos * elflink.c (_bfd_elf_add_default_symbol): Add the default
1569 1.1.1.5 christos symbol if not performing a relocatable link.
1570 1.1.1.5 christos (elf_link_add_object_symbols): Adjust the default symbol if
1571 1.1.1.5 christos not performing a relocatable link.
1572 1.1.1.5 christos
1573 1.1.1.5 christos 2015-07-29 H.J. Lu <hongjiu.lu (a] intel.com>
1574 1.1.1.5 christos
1575 1.1.1.5 christos * elflink.c (elf_link_add_object_symbols): Remove
1576 1.1.1.5 christos !info->relocatable check for info->executable. Add
1577 1.1.1.5 christos !info->relocatable check for !info->executable.
1578 1.1.1.5 christos (elf_link_output_extsym): Remove
1579 1.1.1.5 christos !info->relocatable check for info->executable.
1580 1.1.1.5 christos
1581 1.1.1.5 christos 2015-07-29 Hans-Peter Nilsson <hp (a] bitrange.com>
1582 1.1.1.5 christos
1583 1.1.1.5 christos * mmo.c (mmo_write_symbols_and_terminator): Skip symbol-type
1584 1.1.1.5 christos assignment loop for bfd plugin objects.
1585 1.1.1.5 christos
1586 1.1.1.5 christos 2015-07-28 Alan Modra <amodra (a] gmail.com>
1587 1.1.1.5 christos
1588 1.1.1.5 christos * elf.c (_bfd_elf_map_sections_to_segments): Do not make a new
1589 1.1.1.5 christos segment for loaded sections after nonloaded sections if the
1590 1.1.1.5 christos sections are on the same page.
1591 1.1.1.4 christos
1592 1.1.1.5 christos 2015-07-28 Iain Buclaw <ibuclaw (a] gdcproject.org>
1593 1.1.1.4 christos
1594 1.1.1.5 christos * configure.in: Add asprintf and vasprintf to AC_CHECK_DECLS.
1595 1.1.1.5 christos * config.in, configure: Regenerate.
1596 1.1.1.4 christos
1597 1.1.1.5 christos 2015-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
1598 1.1.1.4 christos
1599 1.1.1.5 christos * configure: Regenerated.
1600 1.1.1.4 christos
1601 1.1.1.5 christos 2015-07-27 Nick Clifton <nickc (a] redhat.com>
1602 1.1.1.4 christos
1603 1.1.1.5 christos * elf32-msp430.c (uses_large_model): New function.
1604 1.1.1.5 christos (msp430_elf_eh_frame_address_size): New function.
1605 1.1.1.5 christos (elf_backend_eh_frame_address_size): Define.
1606 1.1 skrll
1607 1.1.1.5 christos 2015-07-27 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
1608 1.1 skrll
1609 1.1.1.5 christos PR ld/18705
1610 1.1.1.5 christos * elfnn-aarch64.c (elf_backend_extern_protected_data): Define.
1611 1.1.1.4 christos
1612 1.1.1.5 christos 2015-07-27 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
1613 1.1.1.4 christos
1614 1.1.1.5 christos PR ld/18705
1615 1.1.1.5 christos * elf32-arm.c (elf_backend_extern_protected_data): Define.
1616 1.1.1.4 christos
1617 1.1.1.5 christos 2015-07-25 H.J. Lu <hongjiu.lu (a] intel.com>
1618 1.1.1.4 christos
1619 1.1.1.5 christos PR ld/18718
1620 1.1.1.5 christos * elflink.c (elf_link_output_extsym): Check symbol version
1621 1.1.1.5 christos section check only if not linking executable, the symbol is
1622 1.1.1.5 christos referenced by shared library or not locally defined.
1623 1.1.1.4 christos
1624 1.1.1.5 christos 2015-07-25 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
1625 1.1.1.4 christos
1626 1.1.1.5 christos * elf32-arm.c (elf32_arm_final_link_relocate): Use SYMBOLIC_BIND to
1627 1.1.1.5 christos check if a symbol should be bound symbolically.
1628 1.1.1.5 christos * elf32-hppa.c (elf32_hppa_check_relocs,
1629 1.1.1.5 christos elf32_hppa_adjust_dynamic_symbol, elf32_hppa_relocate_section,
1630 1.1.1.5 christos elf32_hppa_finish_dynamic_symbol): Likewise.
1631 1.1.1.5 christos * elf32-m68k.c (elf_m68k_check_relocs,
1632 1.1.1.5 christos elf_m68k_relocate_section): Likewise.
1633 1.1.1.5 christos * elf32-nios2.c (nios2_elf32_relocate_section,
1634 1.1.1.5 christos nios2_elf32_check_relocs, allocate_dynrelocs): Likewise.
1635 1.1.1.5 christos * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol,
1636 1.1.1.5 christos elf32_tic6x_relocate_section): Likewise.
1637 1.1.1.4 christos
1638 1.1.1.5 christos 2015-07-24 Alan Modra <amodra (a] gmail.com>
1639 1.1.1.4 christos
1640 1.1.1.5 christos * elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela
1641 1.1.1.5 christos prefix for reloc section corresponding to rela section associated
1642 1.1.1.5 christos with renamed debug section.
1643 1.1.1.4 christos
1644 1.1.1.5 christos 2015-07-24 Alan Modra <amodra (a] gmail.com>
1645 1.1.1.4 christos
1646 1.1.1.5 christos * section.c (bfd_get_section_by_name_if): Iterate over entire hash
1647 1.1.1.5 christos chain.
1648 1.1.1.4 christos
1649 1.1.1.5 christos 2015-07-23 Joseph Myers <joseph (a] codesourcery.com>
1650 1.1.1.4 christos
1651 1.1.1.5 christos * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections)
1652 1.1.1.5 christos <DT_MIPS_RLD_MAP_REL>: Add target address to host address
1653 1.1.1.5 christos difference, not to host pointer.
1654 1.1.1.4 christos
1655 1.1.1.5 christos 2015-07-22 Alan Modra <amodra (a] gmail.com>
1656 1.1.1.4 christos
1657 1.1.1.5 christos * elf64-ppc.c (opd_entry_value): Remove assertion. Instead,
1658 1.1.1.5 christos return -1 if symbol referenced is not defined. Tidy.
1659 1.1.1.4 christos
1660 1.1.1.5 christos 2015-07-20 Alan Modra <amodra (a] gmail.com>
1661 1.1.1.5 christos
1662 1.1.1.5 christos * po/SRC-POTFILES.in: Regenerate.
1663 1.1.1.4 christos
1664 1.1.1.5 christos 2015-07-17 Jiong Wang <jiong.wang (a] arm.com>
1665 1.1.1.4 christos
1666 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Sort alphabetically.
1667 1.1.1.5 christos (IS_AARCH64_TLSDESC_RELOC): Sort alphabetically.
1668 1.1.1.4 christos
1669 1.1.1.5 christos 2015-07-16 Jiong Wang <jiong.wang (a] arm.com>
1670 1.1.1.5 christos
1671 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
1672 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
1673 1.1.1.5 christos (aarch64_reloc_got_type): Ditto.
1674 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Ditto.
1675 1.1.1.5 christos (elfNN_aarch64_relocate_section): Ditto.
1676 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Ditto.
1677 1.1.1.5 christos (elfNN_aarch64_check_relocs): Ditto.
1678 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
1679 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Ditto.
1680 1.1.1.5 christos
1681 1.1.1.5 christos 2015-07-16 Jiong Wang <jiong.wang (a] arm.com>
1682 1.1.1.5 christos
1683 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PREL21): New entry.
1684 1.1.1.4 christos * bfd-in2.h: Regenerate.
1685 1.1.1.5 christos * libbfd.h: Regenerate.
1686 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1687 1.1.1.5 christos BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
1688 1.1 skrll
1689 1.1.1.5 christos 2015-07-10 H.J. Lu <hongjiu.lu (a] intel.com>
1690 1.1 skrll
1691 1.1.1.5 christos PR binutils/18656
1692 1.1.1.5 christos * bfd.c (bfd_convert_section_size): New function.
1693 1.1.1.5 christos (bfd_convert_section_contents): Likewise.
1694 1.1.1.5 christos * bfd-in2.h: Regenerated.
1695 1.1.1.5 christos
1696 1.1.1.5 christos 2015-07-09 Catherine Moore <clm (a] codesourcery.com>
1697 1.1.1.5 christos
1698 1.1.1.5 christos * elflink.c (bfd_elf_size_dynamic_sections): Call to
1699 1.1.1.5 christos _bfd_elf_maybe_strip_eh_frame_hdr should be before
1700 1.1.1.5 christos bed->elf_backend_size_dynamic_sections.
1701 1.1.1.5 christos
1702 1.1.1.5 christos 2015-07-08 Pitchumani Sivanupandi <pitchumani.s (a] atmel.com>
1703 1.1.1.5 christos
1704 1.1.1.5 christos * elf32-avr.c: Add 32 bit PC relative relocation for AVR target.
1705 1.1.1.5 christos
1706 1.1.1.5 christos 2015-07-05 Richard Sandiford <richard.sandiford (a] arm.com>
1707 1.1.1.5 christos
1708 1.1.1.5 christos * elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
1709 1.1.1.5 christos plus addend rather than the original st_value when looking up
1710 1.1.1.5 christos entries in opd->adjust.
1711 1.1.1.5 christos
1712 1.1.1.5 christos 2015-07-03 Kai Tietz <ktietz (a] redhat.com>
1713 1.1.1.5 christos Nick Clifton <nickc (a] redhat.com>
1714 1.1.1.5 christos
1715 1.1.1.5 christos PR ld/11539
1716 1.1.1.5 christos * coffcode.h (coff_bfd_gc_sections): Define default
1717 1.1.1.5 christos to bfd_coff_gc_sections function.
1718 1.1.1.5 christos (coff_gc_mark_hook_fn): New type.
1719 1.1.1.5 christos * coffgen.c (init_reloc_cookie): Copy and adjust coff
1720 1.1.1.5 christos related code about gc-sections from elflink.c to here.
1721 1.1.1.5 christos (fini_reloc_cookie): Likewise.
1722 1.1.1.5 christos (init_reloc_cookie_rels): Likewise.
1723 1.1.1.5 christos (fini_reloc_cookie_rels): Likewise.
1724 1.1.1.5 christos (init_reloc_cookie_for_section): Likewise.
1725 1.1.1.5 christos (fini_reloc_cookie_for_section): Likewise.
1726 1.1.1.5 christos (_bfd_coff_gc_mark_hook): Likewise.
1727 1.1.1.5 christos (_bfd_coff_gc_mark_rsec): Likewise.
1728 1.1.1.5 christos (_bfd_coff_gc_mark_reloc): Likewise.
1729 1.1.1.5 christos (_bfd_coff_gc_mark): Likewise.
1730 1.1.1.5 christos (_bfd_coff_gc_mark_extra_sections): Likewise.
1731 1.1.1.5 christos (coff_gc_sweep_symbol_info): Likewise.
1732 1.1.1.5 christos (coff_gc_sweep_symbol): Likewise.
1733 1.1.1.5 christos (gc_sweep_hook_fn): Likewise.
1734 1.1.1.5 christos (coff_gc_sweep): Likewise.
1735 1.1.1.5 christos (bfd_coff_gc_sections): Likewise.
1736 1.1.1.5 christos (_bfd_coff_gc_keep): Likewise.
1737 1.1.1.5 christos * libcoff-in.h (coff_reloc_cookie): New struct.
1738 1.1.1.5 christos (bfd_coff_gc_sections): New prototype.
1739 1.1.1.5 christos * libcoff.h: Regenerate.
1740 1.1 skrll
1741 1.1.1.5 christos 2015-07-01 Sandra Loosemore <sandra (a] codesourcery.com>
1742 1.1.1.5 christos Cesar Philippidis <cesar (a] codesourcery.com>
1743 1.1 skrll
1744 1.1.1.5 christos * bfd-in2.h: Regenerated.
1745 1.1.1.5 christos * elf32-nios2.c (elf_nios2_howto_table_rel): Rename to...
1746 1.1.1.5 christos (elf_nios2_r1_howto_table_rel): This.
1747 1.1.1.5 christos (elf_nios2_r2_howto_table_rel): New.
1748 1.1.1.5 christos (BFD_IS_R2): New.
1749 1.1.1.5 christos (lookup_howto): Add ABFD parameter. Adjust to look up in either
1750 1.1.1.5 christos the R1 or R2 relocation table, as determined by ABFD.
1751 1.1.1.5 christos (nios2_reloc_map): Add R2 relocations.
1752 1.1.1.5 christos (nios2_elf32_bfd_reloc_type_lookup): Do lookup using lookup_howto.
1753 1.1.1.5 christos Pass it the ABFD parameter.
1754 1.1.1.5 christos (nios2_elf32_bfd_reloc_name_lookup): Use ABFD to decide whether to
1755 1.1.1.5 christos return an R1 or R2 relocation.
1756 1.1.1.5 christos (nios2_elf32_info_to_howto): Do lookup using lookup_howto.
1757 1.1.1.5 christos Pass it the ABFD parameter.
1758 1.1.1.5 christos (nios2_elf32_do_call26_relocate): Check for alignment on a 4-byte
1759 1.1.1.5 christos boundary.
1760 1.1.1.5 christos (nios2_elf32_relocate_section): Adjust call to lookup_howto.
1761 1.1.1.5 christos * libbfd.h: Regenerated.
1762 1.1.1.5 christos * reloc.c (BFD_RELOC_NIOS2_R2_S12): New.
1763 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_I10_1_PCREL): New.
1764 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T1I7_1_PCREL): New.
1765 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T1I7_2): New.
1766 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T2I4): New.
1767 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T2I4_1): New.
1768 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T2I4_2): New.
1769 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_X1I7_2): New.
1770 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_X2L5): New.
1771 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_F1I5_2): New.
1772 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_L5I4X1): New.
1773 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T1X1I6): New.
1774 1.1.1.5 christos (BFD_RELOC_NIOS2_R2_T1X1I6_2): New.
1775 1.1 skrll
1776 1.1.1.5 christos 2015-07-01 Sandra Loosemore <sandra (a] codesourcery.com>
1777 1.1.1.5 christos Cesar Philippidis <cesar (a] codesourcery.com>
1778 1.1 skrll
1779 1.1.1.5 christos * archures.c (bfd_mach_nios2r1, bfd_mach_nios2r2): New.
1780 1.1.1.5 christos * bfd-in2.h: Regenerated.
1781 1.1.1.5 christos * cpu-nios2.c (nios2_compatible): New.
1782 1.1.1.5 christos (N): Use nios2_compatible instead of bfd_default_compatible.
1783 1.1.1.5 christos (NIOS2R1_NEXT, NIOS2R2_NEXT): Define.
1784 1.1.1.5 christos (arch_info_struct): New.
1785 1.1.1.5 christos (bfd_nios2_arch): Chain to NIOS2R1_NEXT.
1786 1.1.1.5 christos * elf32-nios2.c (is_nios2_elf): New.
1787 1.1.1.5 christos (nios2_elf32_merge_private_bfd_data): New.
1788 1.1.1.5 christos (nios2_elf32_object_p): New.
1789 1.1.1.5 christos (bfd_elf32_bfd_merge_private_bfd_data): Define.
1790 1.1.1.5 christos (elf_backend_object_p): Define.
1791 1.1.1.5 christos
1792 1.1.1.5 christos 2015-07-01 H.J. Lu <hongjiu.lu (a] intel.com>
1793 1.1.1.5 christos
1794 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Refactor.
1795 1.1.1.5 christos
1796 1.1.1.5 christos 2015-06-30 Nick Clifton <nickc (a] redhat.com>
1797 1.1.1.5 christos
1798 1.1.1.5 christos PR binutils/18570
1799 1.1.1.5 christos * elf-attrs.c (obj_attr_size): Use an unsigned int type for the tag.
1800 1.1.1.5 christos (write_obj_attribute): Likewise.
1801 1.1.1.5 christos (elf_new_obj_attr): Likewise.
1802 1.1.1.5 christos (bfd_elf_get_obj_attr_int): Likewise.
1803 1.1.1.5 christos (bfd_elf_add_obj_attr_int): Likewise.
1804 1.1.1.5 christos (bfd_elf_add_obj_attr_string): Likewise.
1805 1.1.1.5 christos (bfd_elf_add_obj_attr_int_string): Likewise.
1806 1.1.1.5 christos (gnu_obj_attrs_arg_type): Likewise.
1807 1.1.1.5 christos (_bfd_elf_obj_attrs_arg_type): Likewise.
1808 1.1.1.5 christos (_bfd_elf_parse_attributes): Likewise.
1809 1.1.1.5 christos (_bfd_elf_merge_unknown_attribute_list): Likewise.
1810 1.1.1.5 christos * elf-bfd.h (struct obj_attribute_list): Likewise.
1811 1.1.1.5 christos Update prototypes.
1812 1.1.1.5 christos
1813 1.1.1.5 christos 2015-06-28 H.J. Lu <hongjiu.lu (a] intel.com>
1814 1.1.1.5 christos
1815 1.1.1.5 christos * bfd-in.h (compressed_debug_section_type): Remove
1816 1.1.1.5 christos COMPRESS_DEBUG_ZLIB.
1817 1.1.1.5 christos * bfd-in2.h : Regenerated.
1818 1.1.1.5 christos
1819 1.1.1.5 christos 2015-06-26 Matthew Fortune <matthew.fortune (a] imgtec.com>
1820 1.1.1.5 christos
1821 1.1.1.5 christos * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable
1822 1.1.1.5 christos instead of !shared to indicate an application vs shared library.
1823 1.1.1.5 christos (_bfd_mips_elf_size_dynamic_sections): Likewise.
1824 1.1.1.5 christos (_bfd_mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP_REL.
1825 1.1.1.5 christos (_bfd_mips_elf_get_target_dtag): Likewise.
1826 1.1.1.5 christos
1827 1.1.1.5 christos 2015-06-25 DJ Delorie <dj (a] redhat.com>
1828 1.1.1.5 christos
1829 1.1.1.5 christos * elf32-msp430.c (msp430_final_link_relocate): Fix comments. Fix
1830 1.1.1.5 christos REL loads to match RELA stores.
1831 1.1.1.5 christos
1832 1.1.1.5 christos 2015-06-25 H.J. Lu <hongjiu.lu (a] intel.com>
1833 1.1.1.5 christos
1834 1.1.1.5 christos * elf.c (_bfd_elf_compute_section_file_positions): Don't
1835 1.1.1.5 christos initialize sh_size for .shstrtab here.
1836 1.1.1.5 christos
1837 1.1.1.5 christos 2015-06-25 H.J. Lu <hongjiu.lu (a] intel.com>
1838 1.1.1.5 christos
1839 1.1.1.5 christos PR gas/18451
1840 1.1.1.5 christos * elf-bfd.h (elf_sym_strtab): New.
1841 1.1.1.5 christos (elf_link_hash_table): Add strtabcount, strtabsize and
1842 1.1.1.5 christos strtab.
1843 1.1.1.5 christos (_bfd_elf_stringtab_init): Removed.
1844 1.1.1.5 christos * elf.c (_bfd_elf_stringtab_init): Removed.
1845 1.1.1.5 christos (_bfd_elf_compute_section_file_positions): Replace
1846 1.1.1.5 christos bfd_strtab_hash/_bfd_elf_stringtab_init/_bfd_stringtab_free/
1847 1.1.1.5 christos _bfd_stringtab_size with
1848 1.1.1.5 christos elf_strtab_hash/_bfd_elf_strtab_init/_bfd_elf_strtab_free/
1849 1.1.1.5 christos _bfd_elf_strtab_size. Use _bfd_elf_strtab_add,
1850 1.1.1.5 christos _bfd_elf_strtab_finalize and _bfd_elf_strtab_offset to get
1851 1.1.1.5 christos st_name.
1852 1.1.1.5 christos (swap_out_syms): Likewise.
1853 1.1.1.5 christos * elflink.c (elf_final_link_info): Replace bfd_strtab_hash
1854 1.1.1.5 christos with elf_strtab_hash. Remove symbuf, symbuf_count,
1855 1.1.1.5 christos symbuf_size and shndxbuf_size.
1856 1.1.1.5 christos (elf_link_flush_output_syms): Removed.
1857 1.1.1.5 christos (elf_link_output_sym): Renamed to ...
1858 1.1.1.5 christos (elf_link_output_symstrtab): This. Replace _bfd_stringtab_add
1859 1.1.1.5 christos with _bfd_elf_strtab_add. Don't flush symbols to the file nor
1860 1.1.1.5 christos swap out symbols.
1861 1.1.1.5 christos (elf_link_swap_symbols_out): New.
1862 1.1.1.5 christos (elf_link_output_extsym): Replace elf_link_output_sym with
1863 1.1.1.5 christos elf_link_output_symstrtab.
1864 1.1.1.5 christos (elf_link_input_bfd): Likewise.
1865 1.1.1.5 christos (elf_final_link_free): Replace _bfd_stringtab_free with
1866 1.1.1.5 christos _bfd_elf_strtab_free. Remove symbuf.
1867 1.1.1.5 christos (bfd_elf_final_link): Replace _bfd_elf_stringtab_init with
1868 1.1.1.5 christos _bfd_elf_strtab_init. Don't set symbuf, symbuf_count,
1869 1.1.1.5 christos symbuf_size nor shndxbuf_size. Initialize strtabsize and
1870 1.1.1.5 christos strtab. Initialize symshndxbuf to -1 when number of sections
1871 1.1.1.5 christos >= 64K. Replace elf_link_output_sym/elf_link_output_sym with
1872 1.1.1.5 christos elf_link_output_symstrtab/elf_link_output_symstrtab. Don't
1873 1.1.1.5 christos call elf_link_flush_output_syms. Call _bfd_elf_strtab_finalize
1874 1.1.1.5 christos and elf_link_swap_symbols_out. Replace _bfd_stringtab_size
1875 1.1.1.5 christos and _bfd_stringtab_emit with _bfd_elf_strtab_size and
1876 1.1.1.5 christos _bfd_elf_strtab_emit.
1877 1.1.1.5 christos
1878 1.1.1.5 christos 2015-06-24 H.J. Lu <hongjiu.lu (a] intel.com>
1879 1.1.1.5 christos
1880 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
1881 1.1.1.5 christos GCC warning.
1882 1.1.1.5 christos
1883 1.1.1.5 christos 2015-06-24 H.J. Lu <hongjiu.lu (a] intel.com>
1884 1.1.1.5 christos
1885 1.1.1.5 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Always allocate
1886 1.1.1.5 christos space for the first .plt entry.
1887 1.1.1.5 christos (elf_i386_size_dynamic_sections): Always add DT_PLTGOT for .plt
1888 1.1.1.5 christos section. Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
1889 1.1.1.5 christos there are PLT relocations.
1890 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Always
1891 1.1.1.5 christos allocate space for the first .plt entry.
1892 1.1.1.5 christos (elf_x86_64_size_dynamic_sections): Always add DT_PLTGOT for
1893 1.1.1.5 christos .plt section. Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
1894 1.1.1.5 christos there are PLT relocations.
1895 1.1.1.5 christos
1896 1.1.1.5 christos 2015-06-24 H.J. Lu <hongjiu.lu (a] intel.com>
1897 1.1.1.5 christos
1898 1.1.1.5 christos PR ld/18591
1899 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Don't convert
1900 1.1.1.5 christos R_X86_64_GOTPCREL to R_X86_64_PC32 if it will cause relocation
1901 1.1.1.5 christos overflow.
1902 1.1.1.5 christos
1903 1.1.1.5 christos 2015-06-23 Jiong Wang <jiong.wang (a] arm.com>
1904 1.1.1.5 christos
1905 1.1.1.5 christos * elfnn-aarch64.c (aarch64_readonly_dynrelocs): New function.
1906 1.1.1.5 christos (elfNN_aarch64_size_dynamic_sections): Traverse hash table to check
1907 1.1.1.5 christos relocations against read-only sections.
1908 1.1.1.5 christos
1909 1.1.1.5 christos 2015-06-18 Nick Clifton <nickc (a] redhat.com>
1910 1.1.1.5 christos
1911 1.1.1.5 christos PR 18481
1912 1.1.1.5 christos * elf32-arm.c (R_ARM_TLS_LE32): Set the special function to NULL.
1913 1.1.1.5 christos
1914 1.1.1.5 christos 2015-06-15 Jon Turney <jon.turney (a] dronecode.org.uk>
1915 1.1.1.5 christos
1916 1.1.1.5 christos * bfd.c: Change struct bfd_build_id to use bfd_size_type.
1917 1.1.1.5 christos * bfd-in2.h : Regenerate.
1918 1.1.1.5 christos
1919 1.1.1.5 christos 2015-06-16 Alan Modra <amodra (a] gmail.com>
1920 1.1 skrll
1921 1.1.1.5 christos * elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of
1922 1.1.1.5 christos dynamic relocs.
1923 1.1 skrll
1924 1.1.1.5 christos 2015-06-10 Jon Turney <jon.turney (a] dronecode.org.uk>
1925 1.1.1.5 christos
1926 1.1.1.5 christos * elf-bfd.h : Remove struct elf_build_id.
1927 1.1.1.5 christos * bfd.c : Add struct bfd_build_id.
1928 1.1.1.5 christos * bfd-in2.h: Regenerate.
1929 1.1.1.5 christos * elf.c (elfobj_grok_gnu_build_id): Update to use bfd_build_id.
1930 1.1.1.5 christos * libpei.h: Add protoype and macros for
1931 1.1.1.5 christos bfd_XXi_slurp_codeview_record.
1932 1.1.1.5 christos * peXXigen.c (_bfd_XXi_slurp_codeview_record): Make public
1933 1.1.1.5 christos * peicode.h (pe_bfd_read_buildid): Add.
1934 1.1.1.5 christos (pe_bfd_object_p): Use pe_bfd_read_buildid().
1935 1.1 skrll
1936 1.1.1.5 christos 2015-06-15 Renlin Li <renlin.li (a] arm.com>
1937 1.1 skrll
1938 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): New entry.
1939 1.1.1.5 christos * bfd-in2.h: Regenerate.
1940 1.1.1.5 christos * libbfd.h: Regenerate.
1941 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1942 1.1.1.5 christos BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
1943 1.1 skrll
1944 1.1.1.5 christos 2015-06-15 Alan Modra <amodra (a] gmail.com>
1945 1.1 skrll
1946 1.1.1.5 christos * cofflink.c (_bfd_coff_generic_relocate_section): Revert
1947 1.1.1.5 christos 2014-03-26 change. Call _bfd_clear_contents for relocs against
1948 1.1.1.5 christos local and global symbols defined in discarded input sections.
1949 1.1 skrll
1950 1.1.1.5 christos 2015-06-05 Nick Clifton <nickc (a] redhat.com>
1951 1.1.1.3 christos
1952 1.1.1.5 christos * elf32-msp430.c (rl78_sym_diff_handler): New function.
1953 1.1.1.5 christos (msp430_howto_table): Use the new function for the SYM_DIFF reloc.
1954 1.1.1.5 christos (msp430x_howto_table): Likewise.
1955 1.1.1.3 christos
1956 1.1.1.5 christos 2015-06-05 Alan Modra <amodra (a] gmail.com>
1957 1.1.1.3 christos
1958 1.1.1.5 christos * elf64-ppc.c (ppc_elf_relocate_section): Move dynamic text
1959 1.1.1.5 christos relocs with insns moved by --ppc476-workaround. Correct
1960 1.1.1.5 christos output of REL16 relocs.
1961 1.1.1.3 christos
1962 1.1.1.5 christos 2015-06-01 Jiong Wang <jiong.wang (a] arm.com>
1963 1.1.1.3 christos
1964 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Support
1965 1.1.1.5 christos BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
1966 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Ditto.
1967 1.1.1.5 christos (elfNN_aarch64_gc_swap_hook): Ditto.
1968 1.1.1.5 christos (elfNN_aarch64_check_relocs): Ditto.
1969 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
1970 1.1.1.3 christos
1971 1.1.1.5 christos 2015-06-01 Jiong Wang <jiong.wang (a] arm.com>
1972 1.1.1.3 christos
1973 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14): New entry.
1974 1.1 skrll * bfd-in2.h: Regenerate.
1975 1.1.1.5 christos * libbfd.h: Regenerate.
1976 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
1977 1.1.1.5 christos BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
1978 1.1 skrll
1979 1.1.1.5 christos 2015-06-01 Jiong Wang <jiong.wang (a] arm.com>
1980 1.1.1.3 christos
1981 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Set overflow type to
1982 1.1.1.5 christos complain_overflow_unsigned for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
1983 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Don't use
1984 1.1.1.5 christos PGOFF for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
1985 1.1.1.3 christos
1986 1.1.1.5 christos 2015-06-01 Jiong Wang <jiong.wang (a] arm.com>
1987 1.1.1.3 christos
1988 1.1.1.5 christos * elfnn-aarch64.c (aarch64_reloc_got_type): Support
1989 1.1.1.5 christos BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
1990 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Ditto.
1991 1.1.1.5 christos (elfNN_aarch64_gc_swap_hook): Ditto.
1992 1.1.1.5 christos (elfNN_aarch64_check_relocs): Ditto.
1993 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
1994 1.1.1.4 christos
1995 1.1.1.5 christos 2015-06-01 Jiong Wang <jiong.wang (a] arm.com>
1996 1.1.1.4 christos
1997 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15): New entry.
1998 1.1.1.5 christos * bfd-in2.h: Regenerate.
1999 1.1.1.5 christos * libbfd.h: Regenerate.
2000 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
2001 1.1.1.5 christos BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
2002 1.1.1.4 christos
2003 1.1.1.5 christos 2015-05-28 Catherine Moore <clm (a] codesourcery.com>
2004 1.1.1.5 christos Bernd Schmidt <bernds (a] codesourcery.com>
2005 1.1.1.5 christos Paul Brook <paul (a] codesourcery.com>
2006 1.1.1.4 christos
2007 1.1.1.5 christos bfd/
2008 1.1.1.5 christos * bfd-in2.h: Regenerated.
2009 1.1.1.5 christos * elf-bfd.h (DWARF2_EH_HDR, COMPACT_EH_HDR): Define.
2010 1.1.1.5 christos (COMPACT_EH_CANT_UNWIND_OPCODE): Define.
2011 1.1.1.5 christos (dwarf_eh_frame_hdr_info): Move dwarf-specific fields from
2012 1.1.1.5 christos eh_frame_hdr_info.
2013 1.1.1.5 christos (compact_eh_frame_hdr_info): Declare.
2014 1.1.1.5 christos (eh_frame_hdr_info): Redeclare with union for dwarf-specific
2015 1.1.1.5 christos fields and compact-eh fields.
2016 1.1.1.5 christos (elf_backend_data): Add cant_unwind_opcode and compact_eh_encoding.
2017 1.1.1.5 christos (bfd_elf_section_data): Add eh_frame_entry_field.
2018 1.1.1.5 christos (elf_section_eh_frame_entry): Define.
2019 1.1.1.5 christos (bfd_elf_parse_eh_frame_entries): Declare.
2020 1.1.1.5 christos (_bfd_elf_parse_eh_frame_entry): Declare.
2021 1.1.1.5 christos (_bfd_elf_end_eh_frame_parsing): Declare.
2022 1.1.1.5 christos (_bfd_elf_write_section_eh_frame_entry): Declare.
2023 1.1.1.5 christos (_bfd_elf_eh_frame_entry_present): Declare.
2024 1.1.1.5 christos (_bfd_elf_section_for_symbol): Declare.
2025 1.1.1.5 christos * elf-eh-frame.c (bfd_elf_discard_eh_frame_entry): New function.
2026 1.1.1.5 christos (bfd_elf_record_eh_frame_entry): New function.
2027 1.1.1.5 christos (_bfd_elf_parse_eh_frame_entry): New function.
2028 1.1.1.5 christos (_bfd_elf_parse_eh_frame): Update hdr_info field references.
2029 1.1.1.5 christos (cmp_eh_frame_hdr): New function.
2030 1.1.1.5 christos (add_eh_frame_hdr_terminator): New function.
2031 1.1.1.5 christos (_bfd_elf_end_eh_frame_parsing): New function.
2032 1.1.1.5 christos (find_merged_cie): Update hdr_info field references.
2033 1.1.1.5 christos (_bfd_elf_discard_section_eh_frame): Likewise.
2034 1.1.1.5 christos (_bfd_elf_discard_section_eh_frame_hdr): Add Compact EH support.
2035 1.1.1.5 christos (_bfd_elf_eh_frame_entry_present): New function.
2036 1.1.1.5 christos (_bfd_elf_maybe_strip_eh_frame_hdr): Add Compact EH support.
2037 1.1.1.5 christos (_bfd_elf_write_section_eh_frame_entry): New function.
2038 1.1.1.5 christos (_bfd_elf_write_section_eh_frame): Update hdr_info field references.
2039 1.1.1.5 christos (_bfd_elf_fixup_eh_frame_hdr): New function.
2040 1.1.1.5 christos (write_compact_eh_frame_hdr): New function.
2041 1.1.1.5 christos (write_dwarf_eh_frame_hdr): New function.
2042 1.1.1.5 christos (_bfd_elf_write_section_eh_frame_hdr): Add Compact EH support.
2043 1.1.1.5 christos * elflink.c (_bfd_elf_section_for_symbol): New function.
2044 1.1.1.5 christos (elf_section_ignore_discarded_relocs): Add Compact EH support.
2045 1.1.1.5 christos (elf_link_input_bfd): Likewise.
2046 1.1.1.5 christos (bfd_elf_final_link): Likewise.
2047 1.1.1.5 christos (_bfd_elf_gc_mark): Likewise.
2048 1.1.1.5 christos (bfd_elf_parse_eh_frame_entries): New function.
2049 1.1.1.5 christos (bfd_elf_gc_sections): Add Compact EH support.
2050 1.1.1.5 christos (bfd_elf_discard_info): Likewise.
2051 1.1.1.5 christos * elfxx-mips.c: Include dwarf2.h.
2052 1.1.1.5 christos (_bfd_mips_elf_compact_eh_encoding): New function.
2053 1.1.1.5 christos (_bfd_mips_elf_cant_unwind_opcode): New function.
2054 1.1.1.5 christos * elfxx-mips.h (_bfd_mips_elf_compact_eh_encoding): Declare.
2055 1.1.1.5 christos (_bfd_mips_elf_cant_unwind_opcode): Declare.
2056 1.1.1.5 christos (elf_backend_compact_eh_encoding): Define.
2057 1.1.1.5 christos (elf_backend_cant_unwind_opcode): Define.
2058 1.1.1.5 christos * elfxx-target.h (elf_backend_compact_eh_encoding): Provide default.
2059 1.1.1.5 christos (elf_backend_cant_unwind_opcode): Provide default.
2060 1.1.1.5 christos (elf_backend_data elfNN_bed): Add elf_backend_compact_eh_encoding and
2061 1.1.1.5 christos elf_backend_cant_unwind_opcode.
2062 1.1.1.5 christos * section.c (SEC_INFO_TYPE_EH_FRAME_ENTRY): Add definition.
2063 1.1.1.5 christos
2064 1.1.1.5 christos 2015-05-27 H.J. Lu <hongjiu.lu (a] intel.com>
2065 1.1.1.5 christos
2066 1.1.1.5 christos PR binutils/18458
2067 1.1.1.5 christos * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
2068 1.1.1.5 christos for now binding only if pointer equality isn't needed.
2069 1.1.1.5 christos (elf_i386_allocate_dynrelocs): Use .plt.got section for now
2070 1.1.1.5 christos binding only if pointer equality isn't needed.
2071 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
2072 1.1.1.5 christos section for now binding only if pointer equality isn't needed.
2073 1.1.1.5 christos (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
2074 1.1.1.5 christos binding only if pointer equality isn't needed.
2075 1.1.1.5 christos
2076 1.1.1.5 christos 2015-05-26 H.J. Lu <hongjiu.lu (a] intel.com>
2077 1.1.1.5 christos
2078 1.1.1.5 christos PR binutils/18437
2079 1.1.1.5 christos * elf32-i386.c (elf_i386_get_plt_sym_val): Skip extra relocations
2080 1.1.1.5 christos in .rel.plt/.rela.plt.
2081 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
2082 1.1.1.5 christos
2083 1.1.1.5 christos 2015-05-19 Jiong Wang <jiong.wang (a] arm.com>
2084 1.1.1.5 christos
2085 1.1.1.5 christos * elfnn-aarch64.c (aarch64_tls_transition_without_check): Sort
2086 1.1.1.5 christos relocation case labels alphabetically.
2087 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Ditto.
2088 1.1.1.5 christos (elfNN_aarch64_tls_relax): Ditto.
2089 1.1.1.5 christos (elfNN_aarch64_relocate_section): Ditto.
2090 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook): Ditto.
2091 1.1.1.5 christos (elfNN_aarch64_check_relocs): Ditto.
2092 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
2093 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Ditto.
2094 1.1.1.5 christos
2095 1.1.1.5 christos 2015-05-18 Jiong Wang <jiong.wang (a] arm.com>
2096 1.1.1.5 christos
2097 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite
2098 1.1.1.5 christos comments.
2099 1.1.1.5 christos
2100 1.1.1.5 christos 2015-05-16 H.J. Lu <hongjiu.lu (a] intel.com>
2101 1.1.1.5 christos
2102 1.1.1.5 christos * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
2103 1.1.1.5 christos for now binding.
2104 1.1.1.5 christos (elf_i386_allocate_dynrelocs): Use .plt.got section for now
2105 1.1.1.5 christos binding.
2106 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
2107 1.1.1.5 christos section for now binding.
2108 1.1.1.5 christos (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
2109 1.1.1.5 christos binding.
2110 1.1.1.5 christos
2111 1.1.1.5 christos 2015-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
2112 1.1.1.5 christos
2113 1.1.1.5 christos * bfd.c (bfd_update_compression_header): Also write the zlib
2114 1.1.1.5 christos header if the SHF_COMPRESSED bit cleared..
2115 1.1.1.5 christos (bfd_check_compression_header): Return the uncompressed size.
2116 1.1.1.5 christos * compress.c (decompress_contents): Don't skip the zlib header.
2117 1.1.1.5 christos (bfd_compress_section_contents): Properly handle ELFCOMPRESS_ZLIB,
2118 1.1.1.5 christos which doesn't have the zlib header.
2119 1.1.1.5 christos (bfd_init_section_decompress_status): Likewise.
2120 1.1.1.5 christos (bfd_get_full_section_contents): Updated.
2121 1.1.1.5 christos (bfd_is_section_compressed): Likewise.
2122 1.1.1.5 christos (bfd_is_section_compressed_with_header): Return the uncompressed
2123 1.1.1.5 christos size.
2124 1.1.1.5 christos * elf.c (_bfd_elf_make_section_from_shdr): Updated.
2125 1.1.1.5 christos * bfd-in2.h: Regenerated.
2126 1.1.1.4 christos
2127 1.1.1.5 christos 2015-05-14 Jiong Wang <jiong.wang (a] arm.com>
2128 1.1.1.4 christos
2129 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Remove overflow
2130 1.1.1.5 christos check restrictions.
2131 1.1.1.4 christos
2132 1.1.1.5 christos 2015-05-14 Max Filippov <jcmvbkbc (a] gmail.com>
2133 1.1.1.4 christos
2134 1.1.1.5 christos * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Treat PLT reference
2135 1.1.1.5 christos as GOT reference when plt.refcount is not positive.
2136 1.1.1.4 christos
2137 1.1.1.5 christos 2015-05-12 H.J. Lu <hongjiu.lu (a] intel.com>
2138 1.1.1.4 christos
2139 1.1.1.5 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate space
2140 1.1.1.5 christos for the first .plt entry only if needed.
2141 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
2142 1.1.1.5 christos
2143 1.1.1.5 christos 2015-05-11 H.J. Lu <hongjiu.lu (a] intel.com>
2144 1.1.1.5 christos
2145 1.1.1.5 christos * Makefile.am (ALL_MACHINES): Add cpu-iamcu.lo.
2146 1.1.1.4 christos (ALL_MACHINES_CFILES): Likewise.
2147 1.1.1.5 christos * archures.c (bfd_mach_iamcu): New.
2148 1.1.1.5 christos (bfd_mach_i386_iamcu): Likewise.
2149 1.1.1.5 christos (bfd_mach_i386_iamcu_intel_syntax): Likewise.
2150 1.1.1.5 christos (bfd_iamcu_arch): Likewise.
2151 1.1.1.5 christos (bfd_archures_list): Add &bfd_iamcu_arch.
2152 1.1.1.5 christos * config.bfd (targ_selvecs): Add iamcu_elf32_vec to
2153 1.1.1.5 christos i386_elf32_vec.
2154 1.1.1.5 christos (targ_archs): Add bfd_iamcu_arch if needed.
2155 1.1.1.5 christos * configure.ac: Support iamcu_elf32_vec.
2156 1.1.1.5 christos * cpu-iamcu.c: New file.
2157 1.1.1.5 christos * elf32-i386.c (elf32_iamcu_elf_object_p): New function.
2158 1.1.1.5 christos Add support for iamcu_elf32_vec and elf32_iamcu_bed.
2159 1.1.1.5 christos * targets.c (iamcu_elf32_vec): New.
2160 1.1.1.5 christos (_bfd_target_vector): Add iamcu_elf32_vec.
2161 1.1.1.5 christos * Makefile.in: Regenerated.
2162 1.1.1.5 christos * bfd-in2.h: Likewise.
2163 1.1.1.5 christos * configure: Likewise.
2164 1.1 skrll
2165 1.1.1.5 christos 2015-05-11 H.J. Lu <hongjiu.lu (a] intel.com>
2166 1.1.1.3 christos
2167 1.1.1.5 christos * elfcode.h (elf_object_p): Replace EM_486 with EM_IAMCU.
2168 1.1.1.3 christos
2169 1.1.1.5 christos 2015-05-10 H.J. Lu <hongjiu.lu (a] intel.com>
2170 1.1.1.3 christos
2171 1.1.1.5 christos * elf32-i386.c (elf_i386_convert_mov_to_lea): Replace input_bfd
2172 1.1.1.5 christos and output_bfd with abfd.
2173 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
2174 1.1.1.4 christos
2175 1.1.1.5 christos 2015-05-06 Toni Spets <toni.spets (a] iki.fi>
2176 1.1.1.4 christos
2177 1.1.1.5 christos PR ld/18372
2178 1.1.1.5 christos * peXXigen.c (rsrc_process_section): Skip discarded resource
2179 1.1.1.5 christos sections.
2180 1.1.1.3 christos
2181 1.1.1.5 christos 2015-05-01 H.J. Lu <hongjiu.lu (a] intel.com>
2182 1.1.1.3 christos
2183 1.1.1.5 christos * config.bfd: Support i[3-7]86-*-elf*.
2184 1.1.1.3 christos
2185 1.1.1.5 christos 2015-04-30 H.J. Lu <hongjiu.lu (a] intel.com>
2186 1.1.1.3 christos
2187 1.1.1.5 christos * elf32-i386.c (elf_backend_post_process_headers): Undef for
2188 1.1.1.5 christos Solaris 2.
2189 1.1.1.3 christos
2190 1.1.1.5 christos 2015-04-30 Nick Clifton <nickc (a] redhat.com>
2191 1.1.1.3 christos
2192 1.1.1.5 christos PR 18317
2193 1.1.1.5 christos * elf32-mep.c (MEPREL): Use bfd_elf_generic_reloc instead of
2194 1.1.1.5 christos mep_reloc.
2195 1.1.1.5 christos (mep_reloc): Delete unused function.
2196 1.1.1.3 christos
2197 1.1.1.5 christos 2015-04-29 Nick Clifton <nickc (a] redhat.com>
2198 1.1.1.3 christos
2199 1.1.1.5 christos PR 17099
2200 1.1.1.5 christos * coff-i386.c (coff_i386_rtype_to_howto): Allow absolute PCRLONG
2201 1.1.1.5 christos relocs.
2202 1.1 skrll
2203 1.1.1.5 christos 2015-04-27 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
2204 1.1 skrll
2205 1.1.1.5 christos * elf-s390-common.c (elf_s390_merge_obj_attributes): New function.
2206 1.1.1.5 christos * elf32-s390.c (elf32_s390_merge_private_bfd_data): Call
2207 1.1.1.5 christos elf_s390_merge_obj_attributes.
2208 1.1.1.5 christos * elf64-s390.c (elf64_s390_merge_private_bfd_data): New function.
2209 1.1 skrll
2210 1.1.1.5 christos 2015-04-24 Jiong Wang <jiong.wang (a] arm.com>
2211 1.1 skrll
2212 1.1.1.5 christos PR ld/18270
2213 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_size_dynamic): Count local symbol for
2214 1.1.1.5 christos GOT_NORMAL for both sgot/srelgot section.
2215 1.1.1.5 christos (elfNN_aarch64_final_link_relocate): Relocate against GOT entry address
2216 1.1.1.5 christos and generate necessary runtime relocation for GOT entry.
2217 1.1.1.3 christos
2218 1.1.1.5 christos 2015-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
2219 1.1.1.3 christos
2220 1.1.1.5 christos PR binutils/18209
2221 1.1.1.5 christos * archive.c (_bfd_get_elt_at_filepos): Copy is_linker_input.
2222 1.1 skrll
2223 1.1.1.5 christos 2015-04-24 Jiong Wang <jiong.wang (a] arm.com>
2224 1.1.1.3 christos
2225 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reject
2226 1.1.1.5 christos PC-relative relocation for external symbol.
2227 1.1.1.3 christos
2228 1.1.1.5 christos 2015-04-24 Nick Clifton <nickc (a] redhat.com>
2229 1.1.1.3 christos
2230 1.1.1.5 christos PR 18313
2231 1.1.1.5 christos * compress.c (decompress_contents): Zero initialse the z_stream
2232 1.1.1.5 christos structure.
2233 1.1.1.4 christos
2234 1.1.1.5 christos 2015-04-24 Nick Clifton <nickc (a] redhat.com>
2235 1.1.1.4 christos
2236 1.1.1.5 christos * elf.c (_bfd_elf_is_local_label_name): Extend test for assembler
2237 1.1.1.5 christos local labels to include local labels with a numeric suffix and
2238 1.1.1.5 christos fake symbols.
2239 1.1.1.4 christos
2240 1.1.1.5 christos 2015-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
2241 1.1.1.4 christos
2242 1.1.1.5 christos PR binutils/18316
2243 1.1.1.5 christos * section.c (SEC_MEP_VLIW): New.
2244 1.1.1.5 christos * bfd-in2.h: Regenerated.
2245 1.1.1.4 christos
2246 1.1.1.5 christos 2015-04-23 H.J. Lu <hongjiu.lu (a] intel.com>
2247 1.1.1.4 christos
2248 1.1.1.5 christos PR ld/18277
2249 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Remove the
2250 1.1.1.5 christos write_compress argument.
2251 1.1.1.5 christos (bfd_init_section_compress_status): Updated.
2252 1.1.1.5 christos (bfd_compress_section): Likewise.
2253 1.1.1.5 christos * elf.c (_bfd_elf_set_reloc_sh_name): New.
2254 1.1.1.5 christos (_bfd_elf_init_reloc_shdr): Add delay_st_name_p. Set sh_name
2255 1.1.1.5 christos to (unsigned int) -1 if delay_st_name_p is TRUE. Use
2256 1.1.1.5 christos _bfd_elf_set_reloc_sh_name.
2257 1.1.1.5 christos (elf_fake_sections): Don't rename DWARF debug section for
2258 1.1.1.5 christos linker output if it will be compressed. Instead, set
2259 1.1.1.5 christos delay_st_name_p to TRUE and pass it to _bfd_elf_init_reloc_shdr.
2260 1.1.1.5 christos (assign_section_numbers): Call _bfd_elf_strtab_addref only if
2261 1.1.1.5 christos sh_name != (unsigned int) -1. Don't finalize nor assign
2262 1.1.1.5 christos shstrtab section here. Delay setting output section names to
2263 1.1.1.5 christos _bfd_elf_write_object_contents.
2264 1.1.1.5 christos (_bfd_elf_compute_section_file_positions): Update comments on
2265 1.1.1.5 christos sh_offset for shstrtab section.
2266 1.1.1.5 christos (assign_file_positions_for_non_load_sections): Set sh_offset to
2267 1.1.1.5 christos -1 for shstrtab section.
2268 1.1.1.5 christos (assign_file_positions_except_relocs): Likewise.
2269 1.1.1.5 christos (_bfd_elf_assign_file_positions_for_non_load): Set up sh_name
2270 1.1.1.5 christos when compressing DWARF debug sections. Place shstrtab section
2271 1.1.1.5 christos after DWARF debug sections have been compressed.
2272 1.1.1.5 christos (_bfd_elf_write_object_contents): Setting sh_name for output
2273 1.1.1.5 christos sections.
2274 1.1.1.4 christos
2275 1.1.1.5 christos 2015-04-23 H.J. Lu <hongjiu.lu (a] intel.com>
2276 1.1.1.4 christos
2277 1.1.1.5 christos PR binutils/18209
2278 1.1.1.5 christos * bfd.c (bfd): Add is_linker_input.
2279 1.1.1.5 christos * elf.c (convert_debug_to_zdebug): New.
2280 1.1.1.5 christos (convert_zdebug_to_debug): Likewise.
2281 1.1.1.5 christos (_bfd_elf_make_section_from_shdr): Don't convert .debug_* to
2282 1.1.1.5 christos .zdebug_* here. Use convert_zdebug_to_debug. Set SEC_ELF_RENAME.
2283 1.1.1.5 christos (_bfd_elf_init_reloc_shdr): Pass a pointer to section name
2284 1.1.1.5 christos instead of a pointer to section.
2285 1.1.1.5 christos (elf_fake_sections): Rename the section name if SEC_ELF_RENAME
2286 1.1.1.5 christos is set.
2287 1.1.1.5 christos * section.c (SEC_ELF_RENAME): New.
2288 1.1.1.5 christos * bfd-in2.h: Regenerated.
2289 1.1.1.4 christos
2290 1.1.1.5 christos 2015-04-23 Alan Modra <amodra (a] gmail.com>
2291 1.1.1.4 christos
2292 1.1.1.5 christos * elf64-ppc.c (TOC_BASE_ALIGN): Define.
2293 1.1.1.5 christos (ppc64_elf_next_toc_section): Align multi-got toc base.
2294 1.1.1.5 christos (ppc64_elf_set_toc): Likewise initial toc base and .TOC. symbol.
2295 1.1.1.5 christos
2296 1.1.1.5 christos 2015-04-22 H.J. Lu <hongjiu.lu (a] intel.com>
2297 1.1.1.5 christos
2298 1.1.1.5 christos PR ld/18289
2299 1.1.1.5 christos * elf32-i386.c (elf_i386_link_hash_entry): Add gotoff_ref.
2300 1.1.1.5 christos (elf_i386_link_hash_newfunc): Initialize gotoff_ref to 0.
2301 1.1.1.5 christos (elf_i386_create_dynamic_sections): Always allow copy relocs for
2302 1.1.1.5 christos building executables.
2303 1.1.1.5 christos (elf_i386_copy_indirect_symbol): Also copy gotoff_ref.
2304 1.1.1.5 christos (elf_i386_check_relocs): Set gotoff_ref for R_386_GOTOFF.
2305 1.1.1.5 christos (elf_i386_adjust_dynamic_symbol): Also allocate copy relocs for
2306 1.1.1.5 christos PIE and R_386_GOTOFF.
2307 1.1.1.5 christos (elf_i386_relocate_section): Allow R_386_GOTOFF in executable.
2308 1.1.1.5 christos
2309 1.1.1.5 christos 2015-04-20 H.J. Lu <hongjiu.lu (a] intel.com>
2310 1.1.1.5 christos
2311 1.1.1.5 christos * elf.c (assign_section_numbers): Always set up sh_name.
2312 1.1.1.5 christos
2313 1.1.1.5 christos 2015-04-20 H.J. Lu <hongjiu.lu (a] intel.com>
2314 1.1.1.5 christos
2315 1.1.1.5 christos * elf.c (assign_file_positions_for_non_load_sections): Iterate
2316 1.1.1.5 christos sections by pointer.
2317 1.1.1.5 christos (_bfd_elf_assign_file_positions_for_non_load): Likewise.
2318 1.1.1.5 christos
2319 1.1.1.5 christos 2015-04-14 H.J. Lu <hongjiu.lu (a] intel.com>
2320 1.1.1.5 christos
2321 1.1.1.5 christos * bfd-in.h (compressed_debug_section_type): New.
2322 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Add an argument
2323 1.1.1.5 christos for linker write compression and always generate .zdebug_*
2324 1.1.1.5 christos section when linking.
2325 1.1.1.5 christos (bfd_init_section_compress_status): Pass FALSE to
2326 1.1.1.5 christos bfd_compress_section_contents.
2327 1.1.1.5 christos (bfd_compress_section): New function.
2328 1.1.1.5 christos * elf.c (elf_fake_sections): For linking, set SEC_ELF_COMPRESS
2329 1.1.1.5 christos on DWARF debug sections if COMPRESS_DEBUG is set and rename
2330 1.1.1.5 christos section if COMPRESS_DEBUG_GABI_ZLIB isn't set.
2331 1.1.1.5 christos (assign_file_positions_for_non_load_sections): Set sh_offset
2332 1.1.1.5 christos to -1 if SEC_ELF_COMPRESS is set.
2333 1.1.1.5 christos (assign_file_positions_except_relocs): Likwise.
2334 1.1.1.5 christos (_bfd_elf_assign_file_positions_for_relocs): Renamed to ...
2335 1.1.1.5 christos (_bfd_elf_assign_file_positions_for_non_load): This. Change
2336 1.1.1.5 christos return time to bfd_boolean. Compress the section if
2337 1.1.1.5 christos SEC_ELF_COMPRESS is set.
2338 1.1.1.5 christos (_bfd_elf_write_object_contents): Updated.
2339 1.1.1.5 christos (_bfd_elf_set_section_contents): Write section contents to
2340 1.1.1.5 christos the buffer if SEC_ELF_COMPRESS is set.
2341 1.1.1.5 christos * merge.c: Include "elf-bfd.h".
2342 1.1.1.5 christos (sec_merge_emit): Add arguments for contents and offset. Write
2343 1.1.1.5 christos to contents with offset if contents isn't NULL.
2344 1.1.1.5 christos (_bfd_write_merged_section): Write section contents to the
2345 1.1.1.5 christos buffer if SEC_ELF_COMPRESS is set. Pass contents and
2346 1.1.1.5 christos output_offset to sec_merge_emit.
2347 1.1.1.5 christos * elflink.c (bfd_elf_final_link): Allocate the buffer for
2348 1.1.1.5 christos output section contents if SEC_ELF_COMPRESS is set.
2349 1.1.1.5 christos * section.c (SEC_ELF_COMPRESS): New.
2350 1.1.1.5 christos * bfd-in2.h: Regenerated.
2351 1.1.1.4 christos
2352 1.1.1.5 christos 2015-04-15 Alan Modra <amodra (a] gmail.com>
2353 1.1 skrll
2354 1.1.1.5 christos * elf32-rl78.c (rl78_elf_relocate_section): Typo fix.
2355 1.1 skrll
2356 1.1.1.5 christos 2015-04-14 Nick Clifton <nickc (a] redhat.com>
2357 1.1 skrll
2358 1.1.1.5 christos * elf32-rl78.c (RL78_OP_REL): New macro.
2359 1.1.1.5 christos (rl78_elf_howto_table): Use it for complex relocs.
2360 1.1.1.5 christos (get_symbol_value): Handle the cases when the info or status
2361 1.1.1.5 christos arguments are NULL.
2362 1.1.1.5 christos (get_romstart): Cache the status returned by get_symbol_value.
2363 1.1.1.5 christos (get_ramstart): Likewise.
2364 1.1.1.5 christos (RL78_STACK_PUSH): Generate an error message if the stack
2365 1.1.1.5 christos overflows.
2366 1.1.1.5 christos (RL78_STACK_POP): Likewise for underflows.
2367 1.1.1.5 christos (rl78_compute_complex_reloc): New function. Contains the basic
2368 1.1.1.5 christos processing code for all RL78 complex relocs.
2369 1.1.1.5 christos (rl78_special_reloc): New function. Provides special reloc
2370 1.1.1.5 christos handling for complex relocs.
2371 1.1.1.5 christos (rl78_elf_relocate_section): Use rl78_compute_complex_reloc.
2372 1.1.1.5 christos (rl78_offset_for_reloc): Likewise.
2373 1.1.1.5 christos
2374 1.1.1.5 christos 2015-04-14 H.J. Lu <hongjiu.lu (a] intel.com>
2375 1.1.1.5 christos
2376 1.1.1.5 christos PR ld/pr17709
2377 1.1.1.5 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Check
2378 1.1.1.5 christos info->extern_protected_data when warning copy relocs against
2379 1.1.1.5 christos protected symbols.
2380 1.1.1.5 christos (_bfd_elf_symbol_refs_local_p): Check info->extern_protected_data
2381 1.1.1.5 christos when checking protected non-function symbols.
2382 1.1.1.5 christos
2383 1.1.1.5 christos 2015-04-13 John Baldwin <jhb (a] FreeBSD.org>
2384 1.1.1.5 christos
2385 1.1.1.5 christos * elf.c (elfcore_grok_note): Recognize NT_X86_XSTATE on
2386 1.1.1.5 christos FreeBSD.
2387 1.1.1.5 christos (elfcore_write_xstatereg): Use correct note name on FreeBSD.
2388 1.1.1.5 christos
2389 1.1.1.5 christos 2015-04-13 H.J. Lu <hongjiu.lu (a] intel.com>
2390 1.1.1.5 christos
2391 1.1.1.5 christos PR ld/18250
2392 1.1.1.5 christos * elflink.c (elf_link_is_defined_archive_symbol): Return FALSE
2393 1.1.1.5 christos if the object has been claimed by plugin.
2394 1.1.1.5 christos
2395 1.1.1.5 christos 2015-04-11 H.J. Lu <hongjiu.lu (a] intel.com>
2396 1.1.1.5 christos
2397 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Replace SYMBOLIC_BIND
2398 1.1.1.5 christos with SYMBOL_REFERENCES_LOCAL when checking R_386_GOTOFF against
2399 1.1.1.5 christos protected data symbol when building shared library.
2400 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Check
2401 1.1.1.5 christos R_X86_64_GOTOFF64 against undefined symbol and replace
2402 1.1.1.5 christos SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL when checking
2403 1.1.1.5 christos R_X86_64_GOTOFF64 against protected data symbol when building
2404 1.1.1.5 christos shared library.
2405 1.1.1.5 christos
2406 1.1.1.5 christos 2015-04-10 H.J. Lu <hongjiu.lu (a] intel.com>
2407 1.1.1.5 christos
2408 1.1.1.5 christos PR ld/pr17709
2409 1.1.1.5 christos * elf32-i386.c (elf_i386_relocate_section): Also check R_386_GOTOFF
2410 1.1.1.5 christos against protected data symbol when building shared library.
2411 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Also check
2412 1.1.1.5 christos R_X86_64_GOTOFF64 against protected data symbol when building
2413 1.1.1.5 christos shared library.
2414 1.1.1.5 christos
2415 1.1.1.5 christos 2015-04-10 H.J. Lu <hongjiu.lu (a] intel.com>
2416 1.1.1.5 christos
2417 1.1.1.5 christos PR ld/pr15228
2418 1.1.1.5 christos PR ld/pr17709
2419 1.1.1.5 christos * elf-bfd.h (elf_backend_data): Add extern_protected_data.
2420 1.1.1.5 christos * elf32-i386.c (elf_backend_extern_protected_data): New.
2421 1.1.1.5 christos Defined to 1.
2422 1.1.1.5 christos * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
2423 1.1.1.5 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
2424 1.1.1.5 christos copy relocs against protected symbols if extern_protected_data
2425 1.1.1.5 christos is true.
2426 1.1.1.5 christos (_bfd_elf_symbol_refs_local_p): Don't return true on protected
2427 1.1.1.5 christos non-function symbols if extern_protected_data is true.
2428 1.1.1.5 christos * elfxx-target.h (elf_backend_extern_protected_data): New.
2429 1.1.1.5 christos Default to 0.
2430 1.1.1.5 christos (elfNN_bed): Initialize extern_protected_data with
2431 1.1.1.5 christos elf_backend_extern_protected_data.
2432 1.1.1.5 christos
2433 1.1.1.5 christos 2015-04-10 H.J. Lu <hongjiu.lu (a] intel.com>
2434 1.1.1.5 christos
2435 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Replace bfd_malloc
2436 1.1.1.5 christos and free with bfd_alloc and bfd_release on compressed buffer.
2437 1.1.1.5 christos Release buffer if compressed section isn't smaller.
2438 1.1.1.5 christos
2439 1.1.1.5 christos 2015-04-10 Alan Modra <amodra (a] gmail.com>
2440 1.1.1.5 christos
2441 1.1.1.5 christos PR ld/18222
2442 1.1.1.5 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't report an error
2443 1.1.1.5 christos on adding a protected visibility variable to .dynbss.
2444 1.1.1.5 christos
2445 1.1.1.5 christos 2015-04-10 Alan Modra <amodra (a] gmail.com>
2446 1.1.1.5 christos
2447 1.1.1.5 christos Revert 2015-03-05 H.J. Lu <hongjiu.lu (a] intel.com>
2448 1.1.1.5 christos PR ld/pr15228
2449 1.1.1.5 christos PR ld/pr17709
2450 1.1.1.5 christos * elf-bfd.h (elf_backend_data): Delete extern_protected_data.
2451 1.1.1.5 christos * elf32-i386.c (elf_backend_extern_protected_data): Delete.
2452 1.1.1.5 christos * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
2453 1.1.1.5 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Remove
2454 1.1.1.5 christos extern_protected_data test.
2455 1.1.1.5 christos (_bfd_elf_symbol_refs_local_p): Likewise.
2456 1.1.1.5 christos * elfxx-target.h (elf_backend_extern_protected_data): Delete.
2457 1.1.1.5 christos (elfNN_bed): Delete elf_backend_extern_protected_data init.
2458 1.1.1.5 christos
2459 1.1.1.5 christos 2015-04-09 H.J. Lu <hongjiu.lu (a] intel.com>
2460 1.1.1.5 christos
2461 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Update comments.
2462 1.1.1.5 christos (bfd_init_section_decompress_status): Likewise.
2463 1.1.1.5 christos (bfd_init_section_compress_status): Likewise.
2464 1.1.1.5 christos
2465 1.1.1.5 christos 2015-04-09 H.J. Lu <hongjiu.lu (a] intel.com>
2466 1.1.1.5 christos
2467 1.1.1.5 christos * elfxx-target.h (TARGET_BIG_SYM): Add BFD_COMPRESS_GABI to
2468 1.1.1.5 christos object_flags.
2469 1.1.1.5 christos (TARGET_LITTLE_SYM): Likewise.
2470 1.1.1.5 christos
2471 1.1.1.5 christos 2015-04-09 Max Filippov <jcmvbkbc (a] gmail.com>
2472 1.1.1.5 christos
2473 1.1.1.5 christos * elf32-xtensa.c (splay-tree.h): include header.
2474 1.1.1.5 christos (text_action_struct): drop next pointer.
2475 1.1.1.5 christos (text_action_list_struct): drop head pointer, add count and
2476 1.1.1.5 christos tree fields.
2477 1.1.1.5 christos (find_fill_action): instead of linear search in text_action_list
2478 1.1.1.5 christos search in the tree.
2479 1.1.1.5 christos (text_action_compare, action_first, action_next): new functions.
2480 1.1.1.5 christos (text_action_add, text_action_add_literal): instead of linear
2481 1.1.1.5 christos search and insertion insert new node into the tree.
2482 1.1.1.5 christos (removed_by_actions): pass additional parameter: action_list,
2483 1.1.1.5 christos use it to traverse the tree.
2484 1.1.1.5 christos (offset_with_removed_text): pass additional action_list parameter
2485 1.1.1.5 christos to removed_by_actions.
2486 1.1.1.5 christos (map_action_fn_context): new typedef.
2487 1.1.1.5 christos (map_action_fn_context_struct): new structure.
2488 1.1.1.5 christos (map_action_fn): new function.
2489 1.1.1.5 christos (map_removal_by_action): use splay_tree_foreach to build map.
2490 1.1.1.5 christos (find_insn_action): replace linear search in text_action_list
2491 1.1.1.5 christos with series of splay_tree_lookups.
2492 1.1.1.5 christos (print_action, print_action_list_fn): new functions.
2493 1.1.1.5 christos (print_action_list): use splay_tree_foreach.
2494 1.1.1.5 christos (init_xtensa_relax_info): drop action_list.head initialization.
2495 1.1.1.5 christos Initialize the tree.
2496 1.1.1.5 christos (compute_text_actions): use non-zero action_list_count instead of
2497 1.1.1.5 christos non-NULL action list.
2498 1.1.1.5 christos (xlate_map_context): new typedef.
2499 1.1.1.5 christos (xlate_map_context_struct): new structure.
2500 1.1.1.5 christos (xlate_map_fn): new function.
2501 1.1.1.5 christos (build_xlate_map): use splay_tree_foreach to build map.
2502 1.1.1.5 christos (action_remove_bytes_fn): new function.
2503 1.1.1.5 christos (relax_section): use zero action_list_count instead of NULL
2504 1.1.1.5 christos action list. Use splay_tree_foreach to count final section size.
2505 1.1.1.5 christos Drop unused variable 'removed'.
2506 1.1.1.5 christos
2507 1.1.1.5 christos 2015-04-09 Max Filippov <jcmvbkbc (a] gmail.com>
2508 1.1.1.5 christos
2509 1.1.1.5 christos * elf32-xtensa.c (removed_literal_map_entry): new typedef.
2510 1.1.1.5 christos (removed_literal_map_entry_struct): new structure.
2511 1.1.1.5 christos (removed_literal_list_struct): add new fields: n_map and map.
2512 1.1.1.5 christos (map_removed_literal, removed_literal_compare): new functions.
2513 1.1.1.5 christos (find_removed_literal): build index array for literals ordered
2514 1.1.1.5 christos by VMA, use binary search to find removed literal.
2515 1.1.1.5 christos
2516 1.1.1.5 christos 2015-04-09 Max Filippov <jcmvbkbc (a] gmail.com>
2517 1.1.1.5 christos
2518 1.1.1.5 christos * elf32-xtensa.c (removal_by_action_entry_struct,
2519 1.1.1.5 christos removal_by_action_map_struct): new structures.
2520 1.1.1.5 christos (removal_by_action_entry, removal_by_action_map): new typedefs.
2521 1.1.1.5 christos (text_action_list_struct): add new field: map.
2522 1.1.1.5 christos (map_removal_by_action, removed_by_actions_map,
2523 1.1.1.5 christos offset_with_removed_text_map): new functions.
2524 1.1.1.5 christos (relax_section): replace offset_with_removed_text with
2525 1.1.1.5 christos offset_with_removed_text_map.
2526 1.1.1.5 christos (translate_reloc, relax_property_section, relax_section_symbols):
2527 1.1.1.5 christos replace removed_by_actions with removed_by_actions_map.
2528 1.1.1.5 christos
2529 1.1.1.5 christos 2015-04-09 Max Filippov <jcmvbkbc (a] gmail.com>
2530 1.1.1.5 christos
2531 1.1.1.5 christos * elf32-xtensa.c (reloc_range_list, reloc_range_list_entry,
2532 1.1.1.5 christos reloc_range): new typedef.
2533 1.1.1.5 christos (reloc_range_list_struct, reloc_range_list_entry_struct,
2534 1.1.1.5 christos reloc_range_struct): new structures.
2535 1.1.1.5 christos (reloc_range_compare, build_reloc_ranges,
2536 1.1.1.5 christos reloc_range_list_append, reloc_range_list_remove,
2537 1.1.1.5 christos reloc_range_list_update_range, free_reloc_range_list): new
2538 1.1.1.5 christos functions.
2539 1.1.1.5 christos (compute_text_actions): precompute relocation opcodes before the
2540 1.1.1.5 christos loop. Add relevant_relocs variable, initialize it before the
2541 1.1.1.5 christos loop, pass it to the check_section_ebb_pcrels_fit.
2542 1.1.1.5 christos (check_section_ebb_pcrels_fit): add new parameter:
2543 1.1.1.5 christos relevant_relocs. Update address range in the relevant_relocs if
2544 1.1.1.5 christos it's non-NULL and iterate only over relevant relocations.
2545 1.1.1.5 christos
2546 1.1.1.5 christos 2015-04-09 Nick Clifton <nickc (a] redhat.com>
2547 1.1.1.5 christos
2548 1.1.1.5 christos * elf32-rx.c (describe_flags): Report the settings of the string
2549 1.1.1.5 christos insn using bits.
2550 1.1.1.5 christos (rx_elf_merge_private_bfd_data): Handle merging of the string insn
2551 1.1.1.5 christos using bits.
2552 1.1.1.5 christos
2553 1.1.1.5 christos 2015-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
2554 1.1.1.5 christos
2555 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Work around a GCC
2556 1.1.1.5 christos uninitialized warning bug fixed in GCC 4.7.
2557 1.1.1.5 christos
2558 1.1.1.5 christos 2015-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
2559 1.1.1.5 christos
2560 1.1.1.5 christos * archive.c (_bfd_get_elt_at_filepos): Also copy BFD_COMPRESS_GABI
2561 1.1.1.5 christos bit.
2562 1.1.1.5 christos * bfd.c (bfd::flags): Increase size to 18 bits.
2563 1.1.1.5 christos (BFD_COMPRESS_GABI): New.
2564 1.1.1.5 christos (BFD_FLAGS_SAVED): Add BFD_COMPRESS_GABI.
2565 1.1.1.5 christos (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
2566 1.1.1.5 christos (bfd_update_compression_header): New fuction.
2567 1.1.1.5 christos (bfd_check_compression_header): Likewise.
2568 1.1.1.5 christos (bfd_get_compression_header_size): Likewise.
2569 1.1.1.5 christos (bfd_is_section_compressed_with_header): Likewise.
2570 1.1.1.5 christos * compress.c (MAX_COMPRESSION_HEADER_SIZE): New.
2571 1.1.1.5 christos (bfd_compress_section_contents): Return the uncompressed size if
2572 1.1.1.5 christos the full section contents is compressed successfully. Support
2573 1.1.1.5 christos converting from/to .zdebug* sections.
2574 1.1.1.5 christos (bfd_get_full_section_contents): Call
2575 1.1.1.5 christos bfd_get_compression_header_size to get compression header size.
2576 1.1.1.5 christos (bfd_is_section_compressed): Renamed to ...
2577 1.1.1.5 christos (bfd_is_section_compressed_with_header): This. Add a pointer
2578 1.1.1.5 christos argument to return compression header size.
2579 1.1.1.5 christos (bfd_is_section_compressed): Use it.
2580 1.1.1.5 christos (bfd_init_section_decompress_status): Call
2581 1.1.1.5 christos bfd_get_compression_header_size to get compression header size.
2582 1.1.1.5 christos Return FALSE if uncompressed section size is 0.
2583 1.1.1.5 christos * elf.c (_bfd_elf_make_section_from_shdr): Support converting
2584 1.1.1.5 christos from/to .zdebug* sections.
2585 1.1.1.5 christos * bfd-in2.h: Regenerated.
2586 1.1 skrll
2587 1.1.1.5 christos 2015-04-07 Alan Modra <amodra (a] gmail.com>
2588 1.1.1.3 christos
2589 1.1.1.5 christos * elf.c (_bfd_elf_get_reloc_section): Allow for .got.plt being
2590 1.1.1.5 christos mapped to output .got section.
2591 1.1.1.3 christos
2592 1.1.1.5 christos 2015-04-07 Alan Modra <amodra (a] gmail.com>
2593 1.1.1.3 christos
2594 1.1.1.5 christos * elf32-ppc.c (struct ppc_elf_link_hash_entry): Add has_addr16_ha
2595 1.1.1.5 christos and has_addr16_lo. Make has_sda_refs a bitfield.
2596 1.1.1.5 christos (ppc_elf_check_relocs): Set new flags.
2597 1.1.1.5 christos (ppc_elf_link_hash_table_create): Update default_params.
2598 1.1.1.5 christos (ppc_elf_adjust_dynamic_symbol): Clear protected_def in cases
2599 1.1.1.5 christos where we won't be making .dynbss entries or editing code. Set
2600 1.1.1.5 christos params->pic_fixup when we'll edit code for protected var access.
2601 1.1.1.5 christos (allocate_dynrelocs): Allocate got entry for edited code and
2602 1.1.1.5 christos discard dyn_relocs.
2603 1.1.1.5 christos (struct ppc_elf_relax_info): Add picfixup_size.
2604 1.1.1.5 christos (ppc_elf_relax_section): Rename struct one_fixup to struct
2605 1.1.1.5 christos one_branch_fixup. Rename fixups to branch_fixups. Size space for
2606 1.1.1.5 christos pic fixups.
2607 1.1.1.5 christos (ppc_elf_relocate_section): Edit non-PIC accessing protected
2608 1.1.1.5 christos visibility variables to PIC. Don't emit dyn_relocs for code
2609 1.1.1.5 christos we've edited.
2610 1.1.1.5 christos * elf32-ppc.h (struct ppc_elf_params): Add pic_fixup.
2611 1.1.1.3 christos
2612 1.1.1.5 christos 2015-04-07 Nick Clifton <nickc (a] redhat.com>
2613 1.1.1.3 christos
2614 1.1.1.5 christos * elf.c (_bfd_elf_is_local_label_name): Treat assembler generated
2615 1.1.1.5 christos local labels as local.
2616 1.1.1.3 christos
2617 1.1.1.5 christos 2015-04-06 H.J. Lu <hongjiu.lu (a] intel.com>
2618 1.1.1.3 christos
2619 1.1.1.5 christos * compress.c (get_uncompressed_size): Removed.
2620 1.1.1.5 christos (bfd_compress_section_contents): Use bfd_putb64 to write
2621 1.1.1.5 christos uncompressed section size.
2622 1.1.1.5 christos (bfd_init_section_decompress_status): Replace
2623 1.1.1.5 christos get_uncompressed_size with bfd_getb64.
2624 1.1.1.3 christos
2625 1.1.1.5 christos 2015-04-04 H.J. Lu <hongjiu.lu (a] intel.com>
2626 1.1.1.3 christos
2627 1.1.1.5 christos * elf.c (_bfd_elf_init_private_section_data): Also preserve the
2628 1.1.1.5 christos SHF_COMPRESSED bit if not decompress.
2629 1.1.1.3 christos
2630 1.1.1.5 christos 2015-04-04 H.J. Lu <hongjiu.lu (a] intel.com>
2631 1.1.1.3 christos
2632 1.1.1.5 christos * compress.c (get_uncompressed_size): New. Extracted from ...
2633 1.1.1.5 christos (bfd_init_section_decompress_status): This. Use it.
2634 1.1.1.3 christos
2635 1.1.1.5 christos 2015-04-02 Andrew Turner <andrew (a] freebsd.org>
2636 1.1.1.3 christos
2637 1.1.1.5 christos * config.bfd: Add aarch64-*-freebsd* target triple.
2638 1.1.1.5 christos
2639 1.1.1.5 christos 2015-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
2640 1.1.1.3 christos
2641 1.1.1.4 christos * configure: Regenerated.
2642 1.1 skrll
2643 1.1.1.5 christos 2015-04-01 Tejas Belagod <tejas.belagod (a] arm.com>
2644 1.1.1.5 christos Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2645 1.1.1.5 christos Jiong Wang <jiong.wang (a] arm.com>
2646 1.1 skrll
2647 1.1.1.5 christos * bfd-in.h (bfd_elf64_aarch64_set_options)
2648 1.1.1.5 christos (bfd_elf32_aarch64_set_options): Add parameter.
2649 1.1.1.5 christos * bfd-in2.h: Regenerated.
2650 1.1.1.5 christos * elfnn-aarch64.c (aarch64_erratum_843419_stub)
2651 1.1.1.5 christos (_bfd_aarch64_adrp_p, _bfd_aarch64_erratum_843419_sequence_p)
2652 1.1.1.5 christos (_bfd_aarch64_erratum_843419_stub_name)
2653 1.1.1.5 christos (_bfd_aarch64_erratum_843419_fixup)
2654 1.1.1.5 christos (_bfd_aarch64_erratum_843419_scan)
2655 1.1.1.5 christos (_bfd_aarch64_erratum_843419_branch_to_stub)
2656 1.1.1.5 christos (_bfd_aarch64_erratum_843419_p): Define.
2657 1.1.1.5 christos (enum elf_aarch64_stub_type): Define
2658 1.1.1.5 christos aarch64_stub_erratum_843419_veneer.
2659 1.1.1.5 christos (struct elf_aarch64_stub_hash_entry): Define adrp_offset.
2660 1.1.1.5 christos (struct elf_aarch64_link_hash_table): Define fix_erratum_843419
2661 1.1.1.5 christos and fix_erratum_843419_adr.
2662 1.1.1.5 christos (stub_hash_newfunc): Initialize adrp_offset;
2663 1.1.1.5 christos (_bfd_aarch64_add_stub_entry_after): Define.
2664 1.1.1.5 christos (aarch64_map_one_stub, aarch64_build_one_stub)
2665 1.1.1.5 christos (aarch64_size_one_stub): Handle
2666 1.1.1.5 christos aarch64_stub_erratum_843419_veneer.
2667 1.1.1.5 christos (_bfd_aarch64_resize_stubs): Round stub section size.
2668 1.1.1.5 christos (elfNN_aarch64_size_stubs): Add scan for 843419.
2669 1.1.1.5 christos (bfd_elfNN_aarch64_set_options): Add parameter. Initialize
2670 1.1.1.5 christos fix_erratum_843419 and fix_erratum_843419_adr.
2671 1.1.1.5 christos (struct erratum_835769_branch_to_stub_data): Add info.
2672 1.1.1.5 christos (elfNN_aarch64_write_section): Initialise info. Handle 843419.
2673 1.1.1.5 christos (elfNN_aarch64_size_dynamic_sections): Handle 843419.
2674 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_decode_adrp_imm)
2675 1.1.1.5 christos (_bfd_aarch64_sign_extend): Define.
2676 1.1.1.5 christos (reencode_adr_imm): Remove static. Rename to:
2677 1.1.1.5 christos (_bfd_aarch64_reencode_adr_imm): Define.
2678 1.1.1.5 christos (_bfd_aarch64_elf_put_addend): Call _bfd_aarch64_reencode_adr_imm.
2679 1.1.1.5 christos * elfxx-aarch64.h (AARCH64_ADR_OP, AARCH64_ADRP_OP)
2680 1.1.1.5 christos (AARCH64_ADRP_OP_MASK, _bfd_aarch64_sign_extend)
2681 1.1.1.5 christos (_bfd_aarch64_decode_adrp_imm, _bfd_aarch64_reencode_adr_imm):
2682 1.1.1.5 christos Define.
2683 1.1.1.3 christos
2684 1.1.1.5 christos 2015-04-01 H.J. Lu <hongjiu.lu (a] intel.com>
2685 1.1.1.3 christos
2686 1.1.1.3 christos * configure: Regenerated.
2687 1.1 skrll
2688 1.1.1.5 christos 2015-03-31 Ed Schouten <ed (a] nuxi.nl>
2689 1.1 skrll
2690 1.1.1.5 christos * config.bfd (targ_defvec): Set to x86_64_elf64_cloudabi_vec
2691 1.1.1.5 christos for x86_64-*-cloudabi*.
2692 1.1.1.5 christos * configure.ac: Handle x86_64_elf64_cloudabi_vec.
2693 1.1.1.5 christos * configure: Regenerated.
2694 1.1.1.5 christos * elf64-x86-64.c (TARGET_LITTLE_SYM): Support x86_64-*-cloudabi*.
2695 1.1.1.5 christos (TARGET_LITTLE_NAME): Likewise.
2696 1.1.1.5 christos (ELF_OSABI): Likewise.
2697 1.1.1.5 christos (elf64_bed): Likewise.
2698 1.1.1.5 christos * targets.c (x86_64_elf64_cloudabi_vec): New.
2699 1.1.1.5 christos (_bfd_target_vector): Add x86_64_elf64_cloudabi_vec.
2700 1.1 skrll
2701 1.1.1.5 christos 2015-03-31 H.J. Lu <hongjiu.lu (a] intel.com>
2702 1.1.1.3 christos
2703 1.1.1.5 christos * configure.ac: Revert the AM_ZLIB change.
2704 1.1.1.5 christos * Makefile.in: Regenerated.
2705 1.1.1.5 christos * aclocal.m4: Likewise.
2706 1.1.1.5 christos * configure: Likewise.
2707 1.1.1.5 christos * doc/Makefile.in: Likewise.
2708 1.1.1.5 christos
2709 1.1.1.5 christos 2015-03-30 H.J. Lu <hongjiu.lu (a] intel.com>
2710 1.1.1.5 christos
2711 1.1.1.5 christos PR ld/18169
2712 1.1.1.5 christos * elf-bfd.h (elf_backend_data): Add get_reloc_section.
2713 1.1.1.5 christos (_bfd_elf_get_reloc_section): New.
2714 1.1.1.5 christos * elf.c (_bfd_elf_get_reloc_section): Likewise.
2715 1.1.1.5 christos (assign_section_numbers): Call get_reloc_section to look up the
2716 1.1.1.5 christos section the relocs apply.
2717 1.1.1.5 christos * elfxx-target.h (elf_backend_get_reloc_section): Likewise.
2718 1.1.1.5 christos (elfNN_bed): Initialize get_reloc_section with
2719 1.1.1.5 christos elf_backend_get_reloc_section.
2720 1.1.1.5 christos
2721 1.1.1.5 christos 2015-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
2722 1.1.1.5 christos
2723 1.1.1.5 christos * Makefile.am (ZLIB): New.
2724 1.1.1.5 christos (ZLIBINC): Likewise.
2725 1.1.1.5 christos (AM_CFLAGS): Add $(ZLIBINC).
2726 1.1.1.5 christos (libbfd_la_LIBADD): Add $(ZLIB).
2727 1.1.1.5 christos * compress.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
2728 1.1.1.5 christos (decompress_contents): Don't check HAVE_ZLIB_H.
2729 1.1.1.5 christos (bfd_compress_section_contents): Likewise.
2730 1.1.1.5 christos (bfd_get_full_section_contents): Likewise.
2731 1.1.1.5 christos (bfd_init_section_decompress_status): Likewise.
2732 1.1.1.5 christos (bfd_init_section_compress_status): Likewise.
2733 1.1.1.5 christos * configure.ac (AM_ZLIB): Removed.
2734 1.1.1.5 christos (zlibdir): New. AC_SUBST.
2735 1.1.1.5 christos (zlibinc): Likewise.
2736 1.1.1.5 christos Add --with-system-zlib.
2737 1.1.1.5 christos * Makefile.in: Regenerated.
2738 1.1.1.5 christos * acinclude.m4: Likewise.
2739 1.1.1.5 christos * config.in: Likewise.
2740 1.1.1.5 christos * configure: Likewise.
2741 1.1.1.5 christos * doc/Makefile.in: Likewise.
2742 1.1.1.3 christos
2743 1.1.1.5 christos 2015-03-27 Alan Modra <amodra (a] gmail.com>
2744 1.1.1.3 christos
2745 1.1.1.5 christos PR ld/15228
2746 1.1.1.5 christos PR ld/18167
2747 1.1.1.5 christos * elflink.c (elf_merge_st_other): Add "sec" parameter. Don't set
2748 1.1.1.5 christos protected_def when symbol section is read-only. Adjust all calls.
2749 1.1.1.5 christos * elf-bfd.h (struct elf_link_hash_entry): Update protected_def comment.
2750 1.1 skrll
2751 1.1.1.5 christos 2015-03-26 Tejas Belagod <tejas.belagod (a] arm.com>
2752 1.1 skrll
2753 1.1.1.5 christos * elfnn-aarch64.c (aarch64_build_one_stub): Replace the call to generic
2754 1.1.1.5 christos _bfd_final_link_relocate with aarch64_relocate.
2755 1.1.1.3 christos
2756 1.1.1.5 christos 2015-03-26 H.J. Lu <hongjiu.lu (a] intel.com>
2757 1.1 skrll
2758 1.1.1.5 christos PR ld/18160
2759 1.1.1.5 christos * elflink.c (elf_gc_sweep): Skip if relocation is incompatible.
2760 1.1.1.5 christos (bfd_elf_gc_sections): Likewise.
2761 1.1 skrll
2762 1.1.1.5 christos 2015-03-25 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2763 1.1 skrll
2764 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Adjust stub section
2765 1.1.1.5 christos size for initial branch.
2766 1.1.1.5 christos (elfNN_aarch64_build_stubs): Write initial branch.
2767 1.1.1.5 christos _bfd_aarch64_decode_(elfNN_aarch64_output_arch_local_syms): Write
2768 1.1.1.5 christos mapping symbol on initial branch.
2769 1.1 skrll
2770 1.1.1.5 christos 2015-03-25 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2771 1.1 skrll
2772 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan):
2773 1.1.1.5 christos Update erratum count.
2774 1.1 skrll
2775 1.1.1.5 christos 2015-03-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj (a] atmel.com>
2776 1.1.1.3 christos
2777 1.1.1.5 christos * elflink.c (_bfd_elf_gc_mark_extra_sections): Don't break on
2778 1.1.1.5 christos first matching debug section.
2779 1.1.1.3 christos
2780 1.1.1.5 christos 2015-03-24 H.J. Lu <hongjiu.lu (a] intel.com>
2781 1.1.1.3 christos
2782 1.1.1.5 christos PR gas/18087
2783 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Don't write the
2784 1.1.1.5 christos zlib header and set contents as well as compress_status if
2785 1.1.1.5 christos compression didn't make the section smaller.
2786 1.1.1.5 christos (bfd_init_section_compress_status): Don't check compression
2787 1.1.1.5 christos size here.
2788 1.1.1.4 christos
2789 1.1.1.5 christos 2015-03-24 Nick Clifton <nickc (a] redhat.com>
2790 1.1.1.4 christos
2791 1.1.1.5 christos PR binutils/17512
2792 1.1.1.5 christos * coffgen.c (coff_get_normalized_symtab): Fix test for out of
2793 1.1.1.5 christos range auxillary sections.
2794 1.1.1.4 christos
2795 1.1.1.5 christos 2015-03-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2796 1.1.1.4 christos
2797 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor
2798 1.1.1.5 christos code into:
2799 1.1.1.5 christos (_bfd_aarch64_get_stub_for_link_section): Define.
2800 1.1.1.4 christos
2801 1.1.1.5 christos 2015-03-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2802 1.1.1.4 christos
2803 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Adjust
2804 1.1.1.5 christos update of section_group[].stub_sec.
2805 1.1.1.3 christos
2806 1.1.1.5 christos 2015-03-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2807 1.1.1.3 christos
2808 1.1.1.5 christos * elfnn-aarch64.c (struct aarch64_erratum_835769_fix) Remove.
2809 1.1.1.5 christos (erratum_835769_scan) Drop fix_table_size_p and fixes_p arguments.
2810 1.1.1.5 christos Delete fixes, fix_table_size and associated code. Call
2811 1.1.1.5 christos _bfd_aarch64_add_stub_entry_in_group. Rename to...
2812 1.1.1.5 christos (bfd_aarch64_erratum_835769_scan): Define.
2813 1.1.1.5 christos (elfNN_aarch64_size_stubs): Delete erratum_835769_fixes,
2814 1.1.1.5 christos erratum_835769_fix_table_size, i and associated code. Relocate
2815 1.1.1.5 christos call to _bfd_aarch64_erratum_835769_scan. Delete adhoc stub size
2816 1.1.1.5 christos correction. Delete construction of stub entry from
2817 1.1.1.5 christos erratum_835769_fixes array.
2818 1.1.1.3 christos
2819 1.1.1.5 christos 2015-03-24 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2820 1.1.1.3 christos
2821 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Use
2822 1.1.1.5 christos _bfd_aarch64_add_stub_entry_in_group.
2823 1.1 skrll
2824 1.1.1.5 christos 2015-03-24 Alan Modra <amodra (a] gmail.com>
2825 1.1 skrll
2826 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_relocate_section): Report overflow to
2827 1.1.1.5 christos stubs, even those for undefined weak symbols. Otherwise, don't
2828 1.1.1.5 christos report relocation overflow on branches to undefined strong
2829 1.1.1.5 christos symbols. Fix memory leak.
2830 1.1.1.5 christos * elf32-ppc.c (ppc_elf_relocate_section): Don't report relocation
2831 1.1.1.5 christos overflow on branches to undefined strong symbols.
2832 1.1 skrll
2833 1.1.1.5 christos 2015-03-23 Keith Seitz <keiths (a] redhat.com>
2834 1.1 skrll
2835 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Add
2836 1.1.1.5 christos missing ';'.
2837 1.1.1.3 christos
2838 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2839 1.1.1.3 christos
2840 1.1.1.5 christos * elfnn-aarch64.c (erratum_835769_scan): Factor stub name
2841 1.1.1.5 christos construction into...
2842 1.1.1.5 christos (_bfd_aarch64_erratum_835769_stub_name): Define.
2843 1.1.1.3 christos
2844 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2845 1.1.1.3 christos
2846 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Factor out
2847 1.1.1.5 christos stub resize code into...
2848 1.1.1.5 christos (bfd_aarch64_resize_stubs): Define.
2849 1.1 skrll
2850 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2851 1.1 skrll
2852 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor stub
2853 1.1.1.5 christos creation code into...
2854 1.1.1.5 christos (bfd_aarch64_create_stub_section): Define.
2855 1.1.1.5 christos
2856 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2857 1.1.1.5 christos
2858 1.1.1.5 christos * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Rename
2859 1.1.1.5 christos from elf_aarch64_create_or_find_stub_sec.
2860 1.1.1.5 christos (_bfd_aarch64_add_stub_entry_in_group): Rename from
2861 1.1.1.5 christos elfNN_aarch64_add_stub. Call
2862 1.1.1.5 christos _bfd_aarch64_create_or_find_stub_sec.
2863 1.1.1.5 christos (elfNN_aarch64_size_stubs, elfNN_aarch64_size_stubs): Call
2864 1.1.1.5 christos _bfd_aarch64_add_stub_entry_in_group.
2865 1.1.1.5 christos
2866 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2867 1.1.1.5 christos
2868 1.1.1.5 christos * elfnn-aarch64.c (erratum_835769_scan) Add comment. Reverse
2869 1.1.1.5 christos sense of boolean return.
2870 1.1.1.5 christos (elfNN_aarch64_size_stubs): Adjust for above.
2871 1.1.1.5 christos
2872 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2873 1.1.1.5 christos
2874 1.1.1.5 christos * elfnn-aarch64.c (elf_aarch64_create_or_find_stub_sec):
2875 1.1.1.5 christos Remove unused parameter.
2876 1.1.1.5 christos (elfNN_aarch64_size_stubs): Adjust for above.
2877 1.1.1.5 christos
2878 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2879 1.1.1.5 christos
2880 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx.
2881 1.1.1.5 christos
2882 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2883 1.1.1.5 christos
2884 1.1.1.5 christos * elfnn-aarch64.c (aarch64_erratum_835769_fixes)
2885 1.1.1.5 christos (num_aarch64_erratum_835769_fixes): Remove.
2886 1.1.1.5 christos (elfNN_aarch64_size_stubs): Remove assignments to above.
2887 1.1.1.5 christos
2888 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2889 1.1.1.5 christos
2890 1.1.1.5 christos * elfnn-aarch64.c (aarch64_mem_op_p): Update comment. Rename rtn
2891 1.1.1.5 christos to rt2.
2892 1.1.1.5 christos (aarch64_erratum_seqeunce): Rename rtn to rt2.
2893 1.1.1.5 christos
2894 1.1.1.5 christos 2015-03-23 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
2895 1.1.1.5 christos
2896 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_write_section): Adjust layout.
2897 1.1 skrll
2898 1.1.1.5 christos 2015-03-19 Nick Clifton <nickc (a] redhat.com>
2899 1.1 skrll
2900 1.1.1.5 christos * elf32-rl78.c (rl78_cpu_name): New function. Prints the name of
2901 1.1.1.5 christos the RL78 core based upon the flags.
2902 1.1.1.5 christos (rl78_elf_merge_private_bfd_data): Handle merging of G13 and G14
2903 1.1.1.5 christos flags.
2904 1.1.1.5 christos (rl78_elf_print_private_bfd_data): Use rl78_cpu_name.
2905 1.1.1.5 christos (elf32_rl78_machine): Always return bfd_mach_rl78.
2906 1.1 skrll
2907 1.1.1.5 christos 2015-03-19 Nick Clifton <nickc (a] redhat.com>
2908 1.1 skrll
2909 1.1.1.5 christos PR 18078
2910 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Do not define this
2911 1.1.1.5 christos function if it is not used.
2912 1.1 skrll
2913 1.1.1.5 christos 2015-03-18 H.J. Lu <hongjiu.lu (a] intel.com>
2914 1.1 skrll
2915 1.1.1.5 christos * compress.c (bfd_compress_section_contents): Make it static.
2916 1.1.1.5 christos * bfd/bfd-in2.h: Regenerated.
2917 1.1 skrll
2918 1.1.1.5 christos 2015-03-18 Eric Youngdale <eyoungdale (a] ptc.com>
2919 1.1 skrll
2920 1.1.1.5 christos PR ld/16598
2921 1.1.1.5 christos * peicode.h (pe_ILF_build_a_bfd): Add support for creating relocs
2922 1.1.1.5 christos suitable for the AMD64.
2923 1.1 skrll
2924 1.1.1.5 christos 2015-03-18 Jon Turney <jon.turney (a] dronecode.org.uk>
2925 1.1.1.4 christos Nick Clifton <nickc (a] redhat.com>
2926 1.1 skrll
2927 1.1.1.5 christos PR binutils/18087
2928 1.1.1.5 christos * coffgen.c (make_a_section_from_file): Only prepend a z to a
2929 1.1.1.5 christos debug section's name if the section was actually compressed.
2930 1.1.1.5 christos * elf.c (_bfd_elf_make_section_from_shdr): Likewise.
2931 1.1.1.5 christos * compress.c (bfd_init_section_compress_status): Do not compress
2932 1.1.1.5 christos the section if doing so would make it bigger. In such cases leave
2933 1.1.1.5 christos the section alone and return COMPRESS_SECTION_NONE.
2934 1.1.1.5 christos
2935 1.1.1.5 christos 2015-03-17 Alan Modra <amodra (a] gmail.com>
2936 1.1.1.3 christos
2937 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return count of 0
2938 1.1.1.5 christos on nothing to do, before malloc of returned symbol array.
2939 1.1.1.3 christos
2940 1.1.1.5 christos 2015-03-16 Nick Clifton <nickc (a] redhat.com>
2941 1.1.1.3 christos
2942 1.1.1.5 christos * elf32-rx.c (elf32_rx_relax_delete_bytes): If the relocs are not
2943 1.1.1.5 christos stored in the elf_section_data structure then load them as
2944 1.1.1.5 christos necessary.
2945 1.1.1.3 christos
2946 1.1.1.5 christos 2015-03-14 Andreas Krebbel <krebbel (a] linux.vnet.ibm.com>
2947 1.1.1.3 christos
2948 1.1.1.5 christos * elf-s390-common.c (elf_s390_elf_sort_relocs_p): Don't sort
2949 1.1.1.5 christos relocs against code sections.
2950 1.1.1.5 christos * elf32-s390.c: Define elf_backend_sort_relocs_p.
2951 1.1.1.5 christos * elf64-s390.c: Likewise.
2952 1.1.1.3 christos
2953 1.1.1.5 christos 2015-03-11 Alan Modra <amodra (a] gmail.com>
2954 1.1.1.3 christos
2955 1.1.1.5 christos * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Examine stubs in
2956 1.1.1.5 christos reverse order. Account for larger size of __tls_get_addr_opt stub.
2957 1.1.1.3 christos
2958 1.1.1.5 christos 2015-03-10 Yuri Gribov <y.gribov (a] samsung.arm>
2959 1.1 skrll
2960 1.1.1.5 christos PR ld/16572
2961 1.1.1.5 christos * elf32-arm.c (elf32_arm_final_link_relocate): Remove support for
2962 1.1.1.5 christos ELF_ARM_HASENTRY.
2963 1.1.1.5 christos (elf32_arm_print_private_bfd_data): Likewise.
2964 1.1.1.5 christos
2965 1.1.1.5 christos 2015-03-06 Nick Clifton <nickc (a] redhat.com>
2966 1.1.1.5 christos
2967 1.1.1.5 christos PR binutils/17765
2968 1.1.1.5 christos * elflink.c (put_value): Like previous delta, but for the 32-bit
2969 1.1.1.5 christos case.
2970 1.1.1.5 christos
2971 1.1.1.5 christos 2015-03-05 Nick Clifton <nickc (a] redhat.com>
2972 1.1.1.5 christos
2973 1.1.1.5 christos PR binutils/17765
2974 1.1.1.5 christos * elflink.c (put_value): Avoid using an undefined shift
2975 1.1.1.5 christos operation.
2976 1.1.1.5 christos
2977 1.1.1.5 christos 2015-03-05 H.J. Lu <hongjiu.lu (a] intel.com>
2978 1.1.1.5 christos
2979 1.1.1.5 christos PR ld/pr15228
2980 1.1.1.5 christos PR ld/pr17709
2981 1.1.1.5 christos * elf-bfd.h (elf_backend_data): Add extern_protected_data.
2982 1.1.1.5 christos * elf32-i386.c (elf_backend_extern_protected_data): New.
2983 1.1.1.5 christos Defined to 1.
2984 1.1.1.5 christos * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
2985 1.1.1.5 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
2986 1.1.1.5 christos copy relocs against protected symbols if extern_protected_data
2987 1.1.1.5 christos is true.
2988 1.1.1.5 christos (_bfd_elf_symbol_refs_local_p): Don't return true on protected
2989 1.1.1.5 christos non-function symbols if extern_protected_data is true.
2990 1.1.1.5 christos * elfxx-target.h (elf_backend_extern_protected_data): New.
2991 1.1.1.5 christos Default to 0.
2992 1.1.1.5 christos (elfNN_bed): Initialize extern_protected_data with
2993 1.1.1.5 christos elf_backend_extern_protected_data.
2994 1.1.1.5 christos
2995 1.1.1.5 christos 2015-03-05 Nick Clifton <nickc (a] redhat.com>
2996 1.1.1.5 christos
2997 1.1.1.5 christos PR binutils/18025
2998 1.1.1.5 christos * coffgen.c (coff_find_nearest_line_with_names): If the dwarf2
2999 1.1.1.5 christos lookup fails, check for an address bias in the dwarf info, and if
3000 1.1.1.5 christos one exists, retry the lookup with the biased value.
3001 1.1.1.5 christos * dwarf2.c (_bfd_dwarf2_find_symbol_bias): New function.
3002 1.1.1.5 christos Determines if a bias exists bewteen the addresses of functions
3003 1.1.1.5 christos based on DWARF information vs symbol table information.
3004 1.1.1.5 christos * libbfd-in.h (_bfd_dwarf2_find_symbol_bias): Prototype.
3005 1.1.1.5 christos * libbfd.h: Regenerate.
3006 1.1 skrll
3007 1.1.1.5 christos 2015-03-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3008 1.1.1.3 christos
3009 1.1.1.5 christos * elfxx-aarch64.c (decode_add_imm, decode_movw_imm)
3010 1.1.1.5 christos (decode_tst_branch_ofs_14, decode_ld_lit_ofs_19)
3011 1.1.1.5 christos (decode_cond_branch_ofs_19, decode_branch_ofs_26): Remove.
3012 1.1.1.3 christos
3013 1.1.1.5 christos 2015-03-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3014 1.1 skrll
3015 1.1.1.5 christos * elfnn-aarch64.c (aarch64_build_one_stub): Call abort.
3016 1.1.1.5 christos (aarch64_size_one_stub): Likewise.
3017 1.1.1.5 christos (aarch64_map_one_stub): Likewise.
3018 1.1 skrll
3019 1.1.1.5 christos 2015-03-04 Andreas Arnez <arnez (a] linux.vnet.ibm.com>
3020 1.1 skrll
3021 1.1.1.5 christos * cpu-s390.c (N): New macro.
3022 1.1.1.5 christos (bfd_s390_31_arch): New. Define only if default target word size
3023 1.1.1.5 christos is 64 bits. Otherwise define...
3024 1.1.1.5 christos (bfd_390_64_arch): ...this. Make static.
3025 1.1.1.5 christos (bfd_s390_arch): Define according to the default target word size.
3026 1.1.1.5 christos Let the 'next' field point to the alternate arch.
3027 1.1 skrll
3028 1.1.1.5 christos 2015-03-04 Richard Sandiford <richard.sandiford (a] arm.com>
3029 1.1 skrll
3030 1.1.1.5 christos PR gas/17843
3031 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Expect
3032 1.1.1.5 christos R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
3033 1.1.1.5 christos to be used with MOVK rather than MOVZ.
3034 1.1 skrll
3035 1.1.1.5 christos 2015-03-03 DJ Delorie <dj (a] redhat.com>
3036 1.1.1.3 christos
3037 1.1.1.5 christos * elf32-rl78.c (rl78_elf_relax_section): Only relax ADDR16's if
3038 1.1.1.5 christos there's a symbol.
3039 1.1.1.3 christos
3040 1.1.1.5 christos 2015-02-28 Alan Modra <amodra (a] gmail.com>
3041 1.1.1.3 christos
3042 1.1.1.5 christos * elf32-ppc.c (ppc_elf_tls_setup): Set no_tls_get_addr_opt if
3043 1.1.1.5 christos not PLT_NEW.
3044 1.1.1.3 christos
3045 1.1.1.5 christos 2015-02-27 H.J. Lu <hongjiu.lu (a] intel.com>
3046 1.1.1.3 christos
3047 1.1.1.5 christos * elf32-i386.c (need_convert_mov_to_lea): New.
3048 1.1.1.5 christos (elf_i386_check_relocs): Set need_convert_mov_to_lea if needed.
3049 1.1.1.5 christos (elf_i386_convert_mov_to_lea): Return TRUE if
3050 1.1.1.5 christos need_convert_mov_to_lea is unset.
3051 1.1.1.5 christos * elf64-x86-64.c (need_convert_mov_to_lea): New.
3052 1.1.1.5 christos (elf_x86_64_check_relocs): Set need_convert_mov_to_lea if needed.
3053 1.1.1.5 christos (elf_x86_64_convert_mov_to_lea): Return TRUE if
3054 1.1.1.5 christos need_convert_mov_to_lea is unset.
3055 1.1.1.3 christos
3056 1.1.1.5 christos 2015-02-27 Nick Clifton <nickc (a] redhat.com>
3057 1.1.1.3 christos
3058 1.1.1.5 christos PR binutils/17910
3059 1.1.1.5 christos * coffgen.c (_bfd_coff_internal_syment_name): Only check for
3060 1.1.1.5 christos string length overflow when the string table length is actually
3061 1.1.1.5 christos set.
3062 1.1.1.3 christos
3063 1.1.1.5 christos 2015-02-27 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3064 1.1 skrll
3065 1.1.1.5 christos * bfd/bfd-in2.h: Regenerate.
3066 1.1.1.5 christos * bfd/libbfd.h: Regenerate.
3067 1.1 skrll
3068 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3069 1.1.1.3 christos
3070 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix
3071 1.1.1.5 christos TLSDESC_LD_PREL19 field width and masks.
3072 1.1.1.5 christos (aarch64_tls_transition_without_check)
3073 1.1.1.5 christos (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
3074 1.1.1.5 christos (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
3075 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
3076 1.1.1.5 christos BFD_RELOC_AARCH64_TLSDESC_LD_PREL19.
3077 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
3078 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
3079 1.1.1.3 christos
3080 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3081 1.1 skrll
3082 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Reorder R_TYPE
3083 1.1.1.5 christos tests.
3084 1.1.1.5 christos (aarch64_tls_transition_without_check)
3085 1.1.1.5 christos (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
3086 1.1.1.5 christos (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
3087 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
3088 1.1.1.5 christos BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
3089 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
3090 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
3091 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
3092 1.1 skrll
3093 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3094 1.1 skrll
3095 1.1.1.5 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC)
3096 1.1.1.5 christos (elfNN_aarch64_howto_table, aarch64_tls_transition_without_check)
3097 1.1.1.5 christos (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
3098 1.1.1.5 christos (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
3099 1.1.1.5 christos (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
3100 1.1.1.5 christos BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
3101 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
3102 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
3103 1.1.1.5 christos * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
3104 1.1 skrll
3105 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3106 1.1 skrll
3107 1.1.1.5 christos * elfnn-aarch64.c: (TLSIE_LD_GOTTREL_PREL19): Fix HOWTO bit field width.
3108 1.1.1.5 christos (aarch64_tls_transition_without_check, aarch64_reloc_got_type)
3109 1.1.1.5 christos (elfNN_aarch64_final_link_relocate, elfNN_aarch64_tls_relax)
3110 1.1.1.5 christos (elfNN_aarch64_relocate_section, elfNN_aarch64_gc_sweep_hook)
3111 1.1.1.5 christos (elfNN_aarch64_check_relocs): Handle
3112 1.1.1.5 christos BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
3113 1.1 skrll
3114 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
3115 1.1.1.5 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
3116 1.1 skrll
3117 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3118 1.1 skrll
3119 1.1.1.5 christos * elfnn-aarch64.c: (TLSDESC_CALL): Fix HOWTO bit field width.
3120 1.1 skrll
3121 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3122 1.1 skrll
3123 1.1.1.5 christos * elfnn-aarch64.c (TLSLE_MOVW_TPREL_G2)
3124 1.1.1.5 christos (TLSLE_MOVW_TPREL_G1, TLSLE_MOVW_TPREL_G1_NC)
3125 1.1.1.5 christos (TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC): Fix bit field
3126 1.1.1.5 christos width.
3127 1.1 skrll
3128 1.1.1.5 christos 2015-02-26 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
3129 1.1 skrll
3130 1.1.1.5 christos * elfnn-aarch64.c: (TLSIE_MOVW_GOTTPREL_G0_NC): Fix HOWTO bit
3131 1.1.1.5 christos field width.
3132 1.1.1.3 christos
3133 1.1.1.5 christos 2015-02-26 Nick Clifton <nickc (a] redhat.com>
3134 1.1.1.3 christos
3135 1.1.1.5 christos PR binutils/17512
3136 1.1.1.5 christos * coffcode.h (coff_compute_section_file_positions): Report
3137 1.1.1.5 christos negative page sizes.
3138 1.1.1.5 christos * elf.c (elf_fake_sections): Handle excessive alignmment powers.
3139 1.1.1.5 christos (assign_file_positions_for_non_load_sections): Replace assertion
3140 1.1.1.5 christos with an error message.
3141 1.1.1.5 christos (rewrite_elf_program_header): Handle excessive segment
3142 1.1.1.5 christos alignments.
3143 1.1.1.5 christos * mach-o.c (bfd_mach_o_read_section_32): Likewise.
3144 1.1.1.5 christos (bfd_mach_o_read_section_64): Likewise.
3145 1.1.1.5 christos * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Use %B to
3146 1.1.1.5 christos print a bfd name, not %A.
3147 1.1.1.3 christos
3148 1.1.1.5 christos 2015-02-26 Alan Modra <amodra (a] gmail.com>
3149 1.1.1.3 christos
3150 1.1.1.5 christos * elf64-ppc.c (plt_stub_size, build_plt_stub): Don't build
3151 1.1.1.5 christos thread-safe stubs for iplt.
3152 1.1.1.5 christos (build_tls_get_addr_stub): Restore r2 immediately after call.
3153 1.1.1.3 christos
3154 1.1.1.5 christos 2015-02-26 Terry Guo <terry.guo (a] arm.com>
3155 1.1.1.3 christos
3156 1.1.1.5 christos * elf32-arm.c (elf32_arm_merge_eabi_attributes): Update how we
3157 1.1.1.5 christos merge Tag_ABI_HardFP_use.
3158 1.1.1.3 christos
3159 1.1.1.5 christos 2015-02-26 Alan Modra <amodra (a] gmail.com>
3160 1.1.1.3 christos
3161 1.1.1.5 christos * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Heed -z nocopyreloc.
3162 1.1.1.5 christos Use text relocs rather than giving an error on trying to use
3163 1.1.1.5 christos .dynbss for protected shared lib vars.
3164 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
3165 1.1.1.3 christos
3166 1.1.1.5 christos 2015-02-25 Andrew Burgess <andrew.burgess (a] embecosm.com>
3167 1.1.1.3 christos
3168 1.1.1.5 christos * elf32-avr.c (struct elf_avr_section_data): New structure.
3169 1.1.1.5 christos (struct avr_relax_info): New structure.
3170 1.1.1.5 christos (elf_avr_new_section_hook): New function.
3171 1.1.1.5 christos (struct elf_avr_section_data): Add relax_info.
3172 1.1.1.5 christos (get_avr_relax_info): New function.
3173 1.1.1.5 christos (init_avr_relax_info): New function.
3174 1.1.1.5 christos (elf32_avr_relax_delete_bytes): Find next property record before
3175 1.1.1.5 christos deleting bytes. When deleting don't move bytes beyond the next
3176 1.1.1.5 christos property record.
3177 1.1.1.5 christos (avr_elf32_assign_records_to_section): New function.
3178 1.1.1.5 christos (avr_property_record_compare): New function.
3179 1.1.1.5 christos (avr_load_all_property_sections): New function.
3180 1.1.1.5 christos (elf32_avr_relax_section): Load property data. After relaxing the
3181 1.1.1.5 christos section, move any .align directives that have enough deleted bytes
3182 1.1.1.5 christos before them.
3183 1.1.1.5 christos (bfd_elf32_new_section_hook): Define.
3184 1.1.1.5 christos
3185 1.1.1.5 christos 2015-02-25 Andrew Burgess <andrew.burgess (a] embecosm.com>
3186 1.1.1.5 christos
3187 1.1.1.5 christos * elf32-avr.h (struct avr_property_header): New strucure.
3188 1.1.1.5 christos (avr_elf32_load_property_records): Declare.
3189 1.1.1.5 christos (avr_elf32_property_record_name): Declare.
3190 1.1.1.5 christos * elf32-avr.c: Add bfd_stdint.h include.
3191 1.1.1.5 christos (retrieve_local_syms): New function.
3192 1.1.1.5 christos (get_elf_r_symndx_section): New function.
3193 1.1.1.5 christos (get_elf_r_symndx_offset): New function.
3194 1.1.1.5 christos (internal_reloc_compare): New function.
3195 1.1.1.5 christos (struct avr_find_section_data): New structure.
3196 1.1.1.5 christos (avr_is_section_for_address): New function.
3197 1.1.1.5 christos (avr_find_section_for_address): New function.
3198 1.1.1.5 christos (avr_elf32_load_records_from_section): New function.
3199 1.1.1.5 christos (avr_elf32_load_property_records): New function.
3200 1.1.1.5 christos (avr_elf32_property_record_name): New function.
3201 1.1.1.5 christos
3202 1.1.1.5 christos 2015-02-25 Andrew Burgess <andrew.burgess (a] embecosm.com>
3203 1.1.1.5 christos
3204 1.1.1.5 christos * elf32-avr.h (AVR_PROPERTY_RECORD_SECTION_NAME): Define.
3205 1.1.1.5 christos (AVR_PROPERTY_RECORDS_VERSION): Define.
3206 1.1.1.5 christos (AVR_PROPERTY_SECTION_HEADER_SIZE): Define.
3207 1.1.1.5 christos (struct avr_property_record): New structure.
3208 1.1.1.5 christos
3209 1.1.1.5 christos 2015-02-24 Nick Clifton <nickc (a] redhat.com>
3210 1.1.1.5 christos
3211 1.1.1.5 christos * elf32-v850.c (v850_set_note): New function. Creates a Renesas
3212 1.1.1.5 christos style note entry.
3213 1.1.1.5 christos (v850_elf_make_note_section): New function. Creates a note
3214 1.1.1.5 christos section.
3215 1.1.1.5 christos (v850_elf_create_sections): New function. Create a note section
3216 1.1.1.5 christos if one is not already present.
3217 1.1.1.5 christos (v850_elf_set_note): New function. Adds a note to a bfd.
3218 1.1.1.5 christos (v850_elf_copy_private_bfd_data): New function. Copies V850
3219 1.1.1.5 christos notes.
3220 1.1.1.5 christos (v850_elf_merge_notes): New function. Merges V850 notes.
3221 1.1.1.5 christos (print_v850_note): New function. Displays a V850 note.
3222 1.1.1.5 christos (v850_elf_print_notes): New function. Displays all notes attached
3223 1.1.1.5 christos to a bfd.
3224 1.1.1.5 christos (v850_elf_merge_private_bfd_data): Call v850_elf_merge_notes.
3225 1.1.1.5 christos (v850_elf_print_private_bfd_data): Call v850_elf_print_notes.
3226 1.1.1.5 christos (v850_elf_fake_sections): Set the type of the V850 note section.
3227 1.1.1.5 christos * bfd-in.h (v850_elf_create_sections): Add prototype.
3228 1.1.1.5 christos (v850_elf_set_note): Add prototype.
3229 1.1.1.5 christos * bfd-in2.h: Regenerate.
3230 1.1.1.4 christos
3231 1.1.1.5 christos 2015-02-24 Nick Clifton <nickc (a] redhat.com>
3232 1.1.1.4 christos
3233 1.1.1.5 christos * configure.ac (AC_CHECK_HEADERS): Add wctype.h.
3234 1.1.1.5 christos * configure: Regenerate.
3235 1.1.1.5 christos * config.in: Regenerate.
3236 1.1.1.5 christos * peXXigen.c: Include wctype.h if HAVE_WCTYPE_H is defined.
3237 1.1.1.5 christos (u16_mbtowc): Use wint_t types if HAVE_WCTYPE_H is defined.
3238 1.1.1.5 christos (rsrc_cmp): Use towlower instead of wcsncasecmp if HAVE_WCTYPE_H
3239 1.1.1.5 christos is defined.
3240 1.1.1.4 christos
3241 1.1.1.5 christos 2015-02-24 Nick Clifton <nickc (a] redhat.com>
3242 1.1.1.4 christos
3243 1.1.1.5 christos * pdp11.c (set_section_contents): Pad the .text and .data sections
3244 1.1.1.5 christos to their aligned sizes.
3245 1.1.1.4 christos
3246 1.1.1.5 christos 2015-02-23 Yoshinori Sato <ysato (a] users.sourceforge.jp>
3247 1.1.1.4 christos
3248 1.1.1.5 christos * config.bfd: Add h8300-*-linux.
3249 1.1.1.5 christos * configure.ac: Add h8300_elf32_linux_vec.
3250 1.1.1.5 christos * configure: Regenerate.
3251 1.1.1.5 christos * elf32-h8300.c: Likewise.
3252 1.1.1.5 christos * targets.c(_bfd_target_vector): Likewise.
3253 1.1.1.4 christos
3254 1.1.1.5 christos 2015-02-23 Nick Clifton <nickc (a] redhat.com>
3255 1.1.1.4 christos
3256 1.1.1.5 christos PR 17914
3257 1.1.1.5 christos * cpu-w65.c: Correct typos in license notice.
3258 1.1.1.4 christos
3259 1.1.1.5 christos PR 17940
3260 1.1.1.5 christos * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust debug
3261 1.1.1.5 christos symbols at end of sections. Adjust function sizes.
3262 1.1.1.5 christos
3263 1.1.1.5 christos 2015-02-20 Andreas Arnez <arnez (a] linux.vnet.ibm.com>
3264 1.1.1.5 christos
3265 1.1.1.5 christos * elf-bfd.h (elfcore_write_s390_vxrs_low): Add prototype.
3266 1.1.1.5 christos (elfcore_write_s390_vxrs_high): Likewise.
3267 1.1.1.5 christos * elf.c (elfcore_grok_s390_vxrs_low): New function.
3268 1.1.1.5 christos (elfcore_grok_s390_vxrs_high): New function.
3269 1.1.1.5 christos (elfcore_grok_note): Call them.
3270 1.1.1.5 christos (elfcore_write_s390_vxrs_low): New function.
3271 1.1.1.5 christos (elfcore_write_s390_vxrs_high): New function.
3272 1.1.1.5 christos (elfcore_write_register_note): Call them.
3273 1.1.1.5 christos
3274 1.1.1.5 christos 2015-02-19 Branko Drevensek <branko.drevensek (a] gmail.com>
3275 1.1.1.5 christos
3276 1.1.1.5 christos PR 17995
3277 1.1.1.5 christos * verilog.c (verilog_write_record): Correct buffer size.
3278 1.1.1.5 christos
3279 1.1.1.5 christos 2015-02-19 Alan Modra <amodra (a] gmail.com>
3280 1.1.1.5 christos
3281 1.1.1.5 christos * elflink.c (_bfd_elf_define_linkage_sym): Set 'bed' earlier.
3282 1.1.1.5 christos
3283 1.1.1.5 christos 2015-02-19 Alan Modra <amodra (a] gmail.com>
3284 1.1.1.5 christos
3285 1.1.1.5 christos PR ld/4317
3286 1.1.1.5 christos * elflink.c (elf_link_input_bfd): Drop undefined local syms.
3287 1.1.1.5 christos (elf_link_output_extsym): Drop local and global undefined syms.
3288 1.1.1.5 christos Tidy. Expand comment.
3289 1.1.1.5 christos
3290 1.1.1.5 christos 2015-02-17 Alan Modra <amodra (a] gmail.com>
3291 1.1.1.5 christos
3292 1.1.1.5 christos PR ld/17975
3293 1.1.1.5 christos * elflink.c (struct elf_outext_info): Remove need_second_pass
3294 1.1.1.5 christos and second_pass.
3295 1.1.1.5 christos (elf_link_output_extsym): Delete code handling second forced
3296 1.1.1.5 christos local pass. Move code emitting NULL STT_FILE symbol later, so
3297 1.1.1.5 christos that it can be omitted if forced local is stripped. Don't
3298 1.1.1.5 christos emit the NULL STT_FILE if no file symbols have been output.
3299 1.1.1.5 christos (bfd_elf_final_link): Remove second forced local pass.
3300 1.1.1.5 christos * elf32-ppc.c (add_stub_sym): Set linker_def on linker syms.
3301 1.1.1.5 christos (ppc_elf_size_dynamic_sections): Likewise.
3302 1.1.1.5 christos * elf64-ppc.c (ppc_build_one_stub): Likewise.
3303 1.1.1.5 christos (build_global_entry_stubs): Likewise.
3304 1.1.1.5 christos (ppc64_elf_build_stubs): Likewise.
3305 1.1.1.5 christos
3306 1.1.1.5 christos 2015-02-16 H.J. Lu <hongjiu.lu (a] intel.com>
3307 1.1.1.5 christos
3308 1.1.1.5 christos PR ld/17975
3309 1.1.1.5 christos * elflink.c (elf_link_output_extsym): Only check filesym_count
3310 1.1.1.5 christos when outputting a NULL FILE symbol. Set second_pass_sym to
3311 1.1.1.5 christos h->forced_local && !h->root.linker_def.
3312 1.1.1.5 christos
3313 1.1.1.5 christos 2015-02-15 H.J. Lu <hongjiu.lu (a] intel.com>
3314 1.1.1.5 christos
3315 1.1.1.5 christos * elf32-i386.c (elf_i386_always_size_sections): Set root.linker_def
3316 1.1.1.5 christos on _TLS_MODULE_BASE_.
3317 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_always_size_sections): Likewise.
3318 1.1.1.5 christos
3319 1.1.1.5 christos 2015-02-15 Alan Modra <amodra (a] gmail.com>
3320 1.1.1.5 christos
3321 1.1.1.5 christos * dwarf2.c (read_rangelist): Correct buffer overflow check
3322 1.1.1.5 christos Whitespace throughout file.
3323 1.1.1.5 christos
3324 1.1.1.5 christos 2015-02-14 Alan Modra <amodra (a] gmail.com>
3325 1.1.1.5 christos
3326 1.1.1.5 christos PR ld/17973
3327 1.1.1.5 christos * bfd.c (struct bfd): Add lto_output.
3328 1.1.1.5 christos * linker.c (_bfd_handle_already_linked): Explicitly test for
3329 1.1.1.5 christos objects added by the lto plugin.
3330 1.1.1.5 christos * opncls.c (_bfd_new_bfd_contained_in): Copy lto_output and
3331 1.1.1.5 christos no_export flags from archive.
3332 1.1.1.5 christos * archive.c (open_nested_file): New function, setting lto_output
3333 1.1.1.5 christos and no_export, extracted from..
3334 1.1.1.5 christos (find_nested_archive): ..here. Flip params. Rename from
3335 1.1.1.5 christos _bfd_find_nested_archive.
3336 1.1.1.5 christos (_bfd_get_elt_at_filepos): Correct var typo. Use open_nested_file.
3337 1.1.1.5 christos (_bfd_look_for_bfd_in_cache): Copy no_export.
3338 1.1.1.5 christos * elflink.c (elf_link_add_object_symbols): Remove now unnecessary
3339 1.1.1.5 christos my_archive->no_export test.
3340 1.1.1.5 christos (elf_link_input_bfd): Drop existing lto_output STT_FILE syms.
3341 1.1.1.5 christos Don't use the file name when adding lto_output STT_FILE sym.
3342 1.1.1.5 christos * bfd-in2.h: Regenerate.
3343 1.1.1.4 christos
3344 1.1.1.5 christos 2015-02-13 Alan Modra <amodra (a] gmail.com>
3345 1.1.1.4 christos
3346 1.1.1.5 christos PR binutils/17512
3347 1.1.1.5 christos * elf64-ppc.c (opd_entry_value): Tighten offset check. Remove
3348 1.1.1.5 christos now redundant assert.
3349 1.1.1.5 christos
3350 1.1.1.5 christos 2015-02-12 Nick Clifton <nickc (a] redhat.com>
3351 1.1.1.5 christos
3352 1.1.1.5 christos PR binutils/17512
3353 1.1.1.5 christos * dwarf.c (read_1_byte, read_1_signed_byte, read_2_bytes)
3354 1.1.1.5 christos (read_4_bytes, read_8_bytes, read_n_bytes, read_string)
3355 1.1.1.5 christos (read_indirect_string, read_alt_indirect_string)
3356 1.1.1.5 christos (read_alt_indirect_ref, read_address, read_abbrevs)
3357 1.1.1.5 christos (read_attribute_value, read_attribute, decode_line_info)
3358 1.1.1.5 christos (find_abstract_instance_name, read_rangelist)
3359 1.1.1.5 christos (scan_unit_for_symbols, parse_comp_unit)
3360 1.1.1.5 christos (_bfd_dwarf2_find_nearest_line): Harden DWARF reading code. Pass
3361 1.1.1.5 christos end pointers to reading functions and check for offsets taking
3362 1.1.1.5 christos pointers out of range. Replace calls to read_*_leb128 with calls
3363 1.1.1.5 christos to safe_read_leb128.
3364 1.1.1.5 christos
3365 1.1.1.5 christos (* elf64-ppc.c (opd_entry_value): Add a check for an overlarge
3366 1.1.1.5 christos offset.
3367 1.1.1.5 christos * syms.c (_bfd_stab_section_find_nearest_line): Add checks for
3368 1.1.1.5 christos computed file_name address being before the start of the string
3369 1.1.1.5 christos table.
3370 1.1.1.5 christos
3371 1.1.1.5 christos 2015-02-11 H.J. Lu <hongjiu.lu (a] intel.com>
3372 1.1.1.5 christos
3373 1.1.1.5 christos PR ld/17878
3374 1.1.1.5 christos * bfd.c (bfd_plugin_format): New.
3375 1.1.1.5 christos (bfd): Add plugin_format and plugin_dummy_bfd.
3376 1.1.1.5 christos * plugin.c (try_load_plugin): Take a pointer to bfd_boolean
3377 1.1.1.5 christos argument to return TRUE if any plugin is found. Set plugin_format.
3378 1.1.1.5 christos (has_plugin): New.
3379 1.1.1.5 christos (bfd_plugin_target_p): New.
3380 1.1.1.5 christos (bfd_plugin_specified_p): Likewise.
3381 1.1.1.5 christos (bfd_plugin_target_p): Likewise.
3382 1.1.1.5 christos (register_ld_plugin_object_p): Likewise.
3383 1.1.1.5 christos (bfd_plugin_set_plugin): Set has_plugin.
3384 1.1.1.5 christos (load_plugin): Cache try_load_plugin result.
3385 1.1.1.5 christos (bfd_plugin_object_p): Try ld_plugin_object_p first. Check
3386 1.1.1.5 christos plugin_format.
3387 1.1.1.5 christos * plugin.h (bfd_plugin_target_p): New.
3388 1.1.1.5 christos (bfd_plugin_specified_p): Likewise.
3389 1.1.1.5 christos (register_ld_plugin_object_p): Likewise.
3390 1.1.1.5 christos * bfd-in2.h: Regenerated.
3391 1.1.1.4 christos
3392 1.1.1.5 christos 2015-02-11 Pedro Alves <palves (a] redhat.com>
3393 1.1.1.4 christos
3394 1.1.1.5 christos * libbfd-in.h [__cplusplus]: Open extern "C" scope.
3395 1.1.1.5 christos * libcoff-in.h [__cplusplus]: Open extern "C" scope.
3396 1.1.1.5 christos * libbfd.h: Regenerate.
3397 1.1.1.5 christos * libcoff.h: Regenerate.
3398 1.1.1.4 christos
3399 1.1.1.5 christos * elf-bfd.h [__cplusplus]: Wrap in extern "C".
3400 1.1.1.5 christos * mach-o.h [__cplusplus]: Wrap in extern "C".
3401 1.1.1.5 christos * som.h [__cplusplus]: Wrap in extern "C".
3402 1.1.1.5 christos
3403 1.1.1.5 christos 2015-02-10 Nick Clifton <nickc (a] redhat.com>
3404 1.1.1.5 christos
3405 1.1.1.5 christos PR binutils/17512
3406 1.1.1.5 christos * coffcode.h (styp_to_sec_flags): Use an unsigned long type to
3407 1.1.1.5 christos hold the flag bits.
3408 1.1.1.5 christos * peXXigen.c (pe_print_reloc): Use unsigned types to hold the
3409 1.1.1.5 christos size and number of relocs.
3410 1.1.1.5 christos (pe_print_debugdata): Use a 32-bit aligned buffer to store the
3411 1.1.1.5 christos codeview record.
3412 1.1.1.5 christos * versados.c (process_otr): Check the esdid value before using it
3413 1.1.1.5 christos to access the EDATA.
3414 1.1.1.5 christos
3415 1.1.1.5 christos 2015-02-09 Ed Maste <emaste (a] freebsd.org>
3416 1.1.1.5 christos
3417 1.1.1.5 christos * elf32-i386.c (elf_i386_get_plt_sym_val): Avoid incrementing
3418 1.1.1.5 christos uninitialized and unused variable.
3419 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
3420 1.1.1.4 christos
3421 1.1.1.5 christos 2015-02-09 Alan Modra <amodra (a] gmail.com>
3422 1.1.1.4 christos
3423 1.1.1.5 christos * elf32-ppc.c (ppc_elf_relocate_section): Don't segfault on NULL
3424 1.1.1.5 christos tls_sec.
3425 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
3426 1.1.1.5 christos * elflink.c (elf_link_output_extsym): Don't assert on NULL tls_sec.
3427 1.1.1.5 christos
3428 1.1.1.5 christos 2015-02-09 Alan Modra <amodra (a] gmail.com>
3429 1.1.1.5 christos
3430 1.1.1.5 christos * elflink.c: Whitespace, formatting fixes.
3431 1.1.1.5 christos (elf_link_input_bfd): Clarify comment.
3432 1.1.1.5 christos (elf_link_output_extsym): Exclude symbols in linker created
3433 1.1.1.5 christos sections when testing for plugin symbols.
3434 1.1.1.5 christos
3435 1.1.1.5 christos 2015-02-07 H.J. Lu <hongjiu.lu (a] intel.com>
3436 1.1.1.5 christos
3437 1.1.1.5 christos PR ld/17935
3438 1.1.1.5 christos * elf32-i386.c (elf_i386_readonly_dynrelocs): Also issue a
3439 1.1.1.5 christos warning for relocation in readonly section for -z text.
3440 1.1.1.5 christos (elf_i386_size_dynamic_sections): Likewise.
3441 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
3442 1.1.1.5 christos (elf_x86_64_size_dynamic_sections): Likewise.
3443 1.1.1.5 christos
3444 1.1.1.5 christos 2015-02-06 H.J. Lu <hongjiu.lu (a] intel.com>
3445 1.1.1.5 christos
3446 1.1.1.5 christos PR ld/12365
3447 1.1.1.5 christos PR ld/14272
3448 1.1.1.5 christos * elflink.c (_bfd_elf_fix_symbol_flags): Revert the last change.
3449 1.1.1.5 christos (elf_link_input_bfd): Mark the plugin symbol undefined if it is
3450 1.1.1.5 christos referenced from a non-IR file.
3451 1.1.1.5 christos
3452 1.1.1.5 christos 2015-02-06 Nick Clifton <nickc (a] redhat.com>
3453 1.1.1.5 christos
3454 1.1.1.5 christos PR binutils/17512
3455 1.1.1.5 christos * peXXigen.c (rsrc_print_resource_entries): Add range check for
3456 1.1.1.5 christos addresses that wrap around the address space.
3457 1.1.1.5 christos (rsrc_parse_entry): Likewise.
3458 1.1.1.5 christos
3459 1.1.1.5 christos 2015-02-03 H.J. Lu <hongjiu.lu (a] intel.com>
3460 1.1.1.5 christos
3461 1.1.1.5 christos PR ld/12365
3462 1.1.1.5 christos PR ld/14272
3463 1.1.1.5 christos * elflink.c (_bfd_elf_fix_symbol_flags): Mark the plugin symbol
3464 1.1.1.5 christos undefined if it is referenced from a non-IR file.
3465 1.1.1.5 christos
3466 1.1.1.5 christos 2015-02-03 Nick Clifton <nickc (a] redhat.com>
3467 1.1.1.5 christos
3468 1.1.1.5 christos PR binutils/17512
3469 1.1.1.5 christos * ecoff.c: Use bfd_alloc2 to allocate space for structure arrays.
3470 1.1.1.5 christos (_bfd_ecoff_slurp_symbol_table): Check for a negative symbol
3471 1.1.1.5 christos index or an out of range fdr index.
3472 1.1.1.5 christos * elf-m10300.c (mn10300_info_to_howto): Fix typo in error message.
3473 1.1.1.5 christos * elf32-arc.c (arc_info_to_howto_rel): Likewise.
3474 1.1.1.5 christos * elf32-avr.c (avr_info_to_howto_rela): Likewise.
3475 1.1.1.5 christos * elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
3476 1.1.1.5 christos * elf32-cr16c.c (elf_cr16c_info_to_howto_rel): Likewise.
3477 1.1.1.5 christos * elf32-cris.c (cris_info_to_howto_rela): Likewise.
3478 1.1.1.5 christos * elf32-crx.c (elf_crx_info_to_howto): Likewise.
3479 1.1.1.5 christos * elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
3480 1.1.1.5 christos * elf32-d30v.c (d30v_info_to_howto_rel): Likewise.
3481 1.1.1.5 christos * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
3482 1.1.1.5 christos * elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
3483 1.1.1.5 christos * elf32-frv.c (frv_info_to_howto_rela): Likewise.
3484 1.1.1.5 christos * elf32-i370.c (i370_elf_info_to_howto): Likewise.
3485 1.1.1.5 christos * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
3486 1.1.1.5 christos * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
3487 1.1.1.5 christos * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
3488 1.1.1.5 christos * elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
3489 1.1.1.5 christos * elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
3490 1.1.1.5 christos * elf32-m32r.c (m32r_info_to_howto_rel): Likewise.
3491 1.1.1.5 christos * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
3492 1.1.1.5 christos * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
3493 1.1.1.5 christos * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
3494 1.1.1.5 christos * elf32-mep.c (mep_info_to_howto_rela): Likewise.
3495 1.1.1.5 christos * elf32-metag.c (metag_info_to_howto_rela): Likewise.
3496 1.1.1.5 christos * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
3497 1.1.1.5 christos * elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
3498 1.1.1.5 christos * elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
3499 1.1.1.5 christos * elf32-mt.c (mt_info_to_howto_rela): Likewise.
3500 1.1.1.5 christos * elf32-nds32.c (nds32_info_to_howto_rel): Likewise.
3501 1.1.1.5 christos * elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
3502 1.1.1.5 christos * elf32-pj.c (pj_elf_info_to_howto): Likewise.
3503 1.1.1.5 christos * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
3504 1.1.1.5 christos * elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
3505 1.1.1.5 christos * elf32-rx.c (rx_info_to_howto_rela): Likewise.
3506 1.1.1.5 christos * elf32-sh.c (sh_elf_info_to_howto): Likewise.
3507 1.1.1.5 christos * elf32-spu.c (spu_elf_info_to_howto): Likewise.
3508 1.1.1.5 christos * elf32-v850.c (v850_elf_perform_relocation): Likewise.
3509 1.1.1.5 christos * elf32-vax.c (rtype_to_howto): Likewise.
3510 1.1.1.5 christos * elf32-visium.c (visium_info_to_howto_rela): Likewise.
3511 1.1.1.5 christos * elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
3512 1.1.1.5 christos * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
3513 1.1.1.5 christos * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
3514 1.1.1.5 christos * elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
3515 1.1.1.5 christos * mach-o.c: Use bfd_alloc2 to allocate space for structure arrays.
3516 1.1.1.5 christos (bfd_mach_o_canonicalize_one_reloc): Fix check on out
3517 1.1.1.5 christos of range symbol indicies.
3518 1.1.1.5 christos (bfd_mach_o_canonicalize_relocs): Check for out of range alloc.
3519 1.1.1.5 christos (bfd_mach_o_canonicalize_dynamic_reloc): Likewise.
3520 1.1.1.5 christos (bfd_mach_o_build_dysymtab): Likewise.
3521 1.1.1.5 christos (bfd_mach_o_write_symtab_content): Set the string table size to
3522 1.1.1.5 christos zero upon error.
3523 1.1.1.5 christos (bfd_mach_o_read_symtab_symbols): Reset the nsyms value if the
3524 1.1.1.5 christos read fails.
3525 1.1.1.5 christos * peXXigen.c (pe_print_edata): Check for numeric overflow in edt
3526 1.1.1.5 christos fields.
3527 1.1.1.5 christos * tekhex.c (first_phase): Check for src pointer reaching end of
3528 1.1.1.5 christos buffer.
3529 1.1.1.5 christos
3530 1.1.1.5 christos 2015-02-03 Will Newton <will.newton (a] linaro.org>
3531 1.1.1.5 christos
3532 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol):
3533 1.1.1.5 christos Set st_value to zero for undefined symbols if the reference
3534 1.1.1.5 christos is weak or pointer_equality_needed is FALSE.
3535 1.1.1.5 christos
3536 1.1.1.5 christos * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Improve
3537 1.1.1.5 christos comment discussing why we clear st_value for some symbols.
3538 1.1.1.5 christos
3539 1.1.1.5 christos 2015-02-02 Kuan-Lin Chen <kuanlinchentw (a] gmail.com>
3540 1.1.1.5 christos
3541 1.1.1.5 christos * elf32-nds32.c (nds32_get_section_contents): Add one more argument.
3542 1.1.1.5 christos (nds32_elf_relocate_section): Do not relocate R_NDS32_LONGJUMP7.
3543 1.1.1.5 christos
3544 1.1.1.5 christos 2015-01-29 Alan Modra <amodra (a] gmail.com>
3545 1.1.1.5 christos
3546 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_relocate_section): Correct GOT_TLSLD
3547 1.1.1.5 christos optimization. Tidy mask for GOT_TLSGD optimization.
3548 1.1.1.5 christos * elf32-ppc.c (ppc_elf_relocate_section): Likewise. Correct
3549 1.1.1.5 christos location of nop zapping high insn too.
3550 1.1.1.5 christos
3551 1.1.1.5 christos 2015-01-28 Alan Modra <amodra (a] gmail.com>
3552 1.1.1.5 christos
3553 1.1.1.5 christos * elf64-ppc.h (struct ppc64_elf_params): Add "object_in_toc".
3554 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_add_symbol_hook): Assume that global symbols
3555 1.1.1.5 christos in .toc indicate xlc compiled code that might require a rw .toc.
3556 1.1.1.5 christos
3557 1.1.1.5 christos 2015-01-28 James Bowman <james.bowman (a] ftdichip.com>
3558 1.1.1.5 christos
3559 1.1.1.5 christos * Makefile.am: Add FT32 files.
3560 1.1.1.5 christos * archures.c (enum bfd_architecture): Add bfd_arch_ft32.
3561 1.1.1.5 christos (bfd_mach_ft32): Define.
3562 1.1.1.5 christos (bfd_ft32_arch): Declare.
3563 1.1.1.5 christos (bfd_archures_list): Add bfd_ft32_arch.
3564 1.1.1.5 christos * config.bfd: Handle FT32.
3565 1.1.1.5 christos * configure.ac: Likewise.
3566 1.1.1.5 christos * cpu-ft32.c: New file.
3567 1.1.1.5 christos * elf32-ft32.c: New file.
3568 1.1.1.5 christos * reloc.c (BFD_RELOC_FT32_10, BFD_RELOC_FT32_20, BFD_RELOC_FT32_17,
3569 1.1.1.5 christos BFD_RELOC_FT32_18): Define.
3570 1.1.1.5 christos * targets.c (_bfd_target_vector): Add ft32_elf32_vec.
3571 1.1.1.5 christos * bfd-in2.h: Regenerate.
3572 1.1.1.5 christos * libbfd.h: Regenerate.
3573 1.1.1.5 christos * Makefile.in: Regenerate.
3574 1.1.1.5 christos * configure: Regenerate.
3575 1.1.1.5 christos * po/SRC-POTFILES.in: Regenerate.
3576 1.1.1.5 christos
3577 1.1.1.5 christos 2015-01-27 Nick Clifton <nickc (a] redhat.com>
3578 1.1.1.5 christos
3579 1.1.1.5 christos PR binutils/17512
3580 1.1.1.5 christos * pdp11.c (aout_get_external_symbols): Return false if there are
3581 1.1.1.5 christos no symbols.
3582 1.1.1.5 christos
3583 1.1.1.5 christos * dwarf2.c (concat_filename): Check for an empty directory table.
3584 1.1.1.5 christos (scan_unit_for_symbols): Check for reading off the end of the
3585 1.1.1.5 christos unit.
3586 1.1.1.5 christos (parse_comp_unit): Check for a DW_AT_comp_dir attribute with a
3587 1.1.1.5 christos non-string form.
3588 1.1.1.5 christos * elf64-ppc.c (opd_entry_value): Fail if there are no relocs
3589 1.1.1.5 christos available.
3590 1.1.1.5 christos
3591 1.1.1.5 christos 2015-01-26 Kuan-Lin Chen <kuanlinchentw (a] gmail.com>
3592 1.1.1.5 christos
3593 1.1.1.5 christos * elf32-nds32.c (nds32_elf_pick_relax): Fix again setting.
3594 1.1.1.5 christos
3595 1.1.1.5 christos 2015-01-22 DJ Delorie <dj (a] redhat.com>
3596 1.1.1.5 christos
3597 1.1.1.5 christos * elf32-m32c.c (m32c_apply_reloc_24): New.
3598 1.1.1.5 christos (m32c_elf_howto_table): Use it for R_M32C_24.
3599 1.1.1.5 christos (m32c_elf_relocate_section): Handle R_M32C_24 specially.
3600 1.1.1.5 christos
3601 1.1.1.5 christos 2015-01-22 Nick Clifton <nickc (a] redhat.com>
3602 1.1.1.5 christos
3603 1.1.1.5 christos PR binutils/17512
3604 1.1.1.5 christos * coffcode.h (handle_COMDAT): When searching for the section
3605 1.1.1.5 christos symbol, make sure that there is space left in the symbol table.
3606 1.1.1.5 christos * vms-alpha.c (_bfd_vms_slurp_ehdr): Add range checks.
3607 1.1.1.5 christos
3608 1.1.1.5 christos 2015-01-21 Nick Clifton <nickc (a] redhat.com>
3609 1.1.1.5 christos
3610 1.1.1.5 christos PR binutils/17512
3611 1.1.1.5 christos * coffcode.h (coff_set_arch_mach_hook): Check return value from
3612 1.1.1.5 christos bfd_malloc.
3613 1.1.1.5 christos (coff_slurp_line_table): Return FALSE if the line number
3614 1.1.1.5 christos information was corrupt.
3615 1.1.1.5 christos (coff_slurp_symbol_table): Return FALSE if the symbol information
3616 1.1.1.5 christos was corrupt.
3617 1.1.1.5 christos * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Always
3618 1.1.1.5 christos initialise the fields of the dyld_info structure.
3619 1.1.1.5 christos (bfd_mach_o_build_exec_seg_command): Replace assertion with an
3620 1.1.1.5 christos error message and a return value.
3621 1.1.1.5 christos (bfd_mach_o_layout_commands): Change the function to boolean.
3622 1.1.1.5 christos Return FALSE if the function fails.
3623 1.1.1.5 christos (bfd_mach_o_build_commands): Fail if bfd_mach_o_layout_commands
3624 1.1.1.5 christos fails.
3625 1.1.1.5 christos (bfd_mach_o_read_command): Fail if an unrecognised command is
3626 1.1.1.5 christos encountered.
3627 1.1.1.5 christos * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Set bfd_error if the
3628 1.1.1.5 christos read fails.
3629 1.1.1.5 christos (slurp_symtab): Check the return from bfd_malloc.
3630 1.1.1.5 christos (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if the copy
3631 1.1.1.5 christos encountered an error.
3632 1.1.1.5 christos (_bfd_XXi_final_link_postscript): Fail if a section could not be
3633 1.1.1.5 christos copied.
3634 1.1.1.5 christos * peicode.h (pe_bfd_object_p): Fail if the header could not be
3635 1.1.1.5 christos swapped in.
3636 1.1.1.5 christos * tekhex.c (first_phase): Fail if the section is too big.
3637 1.1.1.5 christos * versados.c (struct esdid): Add content_size field.
3638 1.1.1.5 christos (process_otr): Use and check the new field.
3639 1.1.1.5 christos (versados_get_section_contents): Check that the section exists and
3640 1.1.1.5 christos that the requested data is available.
3641 1.1.1.5 christos
3642 1.1.1.5 christos 2015-01-20 Chung-Lin Tang <cltang (a] codesourcery.com>
3643 1.1.1.5 christos
3644 1.1.1.5 christos * elf32-nios2.c (elf_backend_default_execstack): Define as 0.
3645 1.1.1.5 christos
3646 1.1.1.5 christos 2015-01-20 Alan Modra <amodra (a] gmail.com>
3647 1.1.1.5 christos
3648 1.1.1.5 christos PR ld/17615
3649 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Don't drop
3650 1.1.1.5 christos ELF_COMMON_DEF syms.
3651 1.1.1.5 christos
3652 1.1.1.5 christos 2015-01-19 Alan Modra <amodra (a] gmail.com>
3653 1.1.1.5 christos
3654 1.1.1.5 christos PR ld/17615
3655 1.1.1.5 christos * elf-bfd.h (ELF_COMMON_DEF_P): Note that this might be true for
3656 1.1.1.5 christos linker script assignments too.
3657 1.1.1.5 christos * elflink.c (elf_gc_sweep_symbol): Don't drop ELF_COMMON_DEF syms.
3658 1.1.1.5 christos (bfd_elf_gc_mark_dynamic_ref_symbol): Similarly.
3659 1.1.1.5 christos
3660 1.1.1.5 christos 2015-01-19 Alan Modra <amodra (a] gmail.com>
3661 1.1.1.5 christos
3662 1.1.1.5 christos * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Correct loop iteration
3663 1.1.1.5 christos to allow return of first howto.
3664 1.1.1.5 christos * elf32-fr30.c (fr30_reloc_type_lookup): Likewise.
3665 1.1.1.5 christos * elf32-m32c.c (m32c_reloc_type_lookup): Likewise.
3666 1.1.1.5 christos * elf32-moxie.c (moxie_reloc_type_lookup): Likewise.
3667 1.1.1.5 christos * elf32-or1k.c (or1k_reloc_type_lookup): Likewise.
3668 1.1.1.5 christos * elf32-rl78.c (rl78_reloc_type_lookup): Likewise.
3669 1.1.1.5 christos * elf32-rx.c (rx_reloc_type_lookup): Likewise.
3670 1.1.1.5 christos * elf32-tilepro.c (tilepro_reloc_type_lookup): Likewise.
3671 1.1.1.5 christos * elf32-xstormy16.c (xstormy16_reloc_type_lookup): Likewise.
3672 1.1.1.5 christos * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
3673 1.1.1.5 christos * elf32-nios2.c (nios2_reloc_map): Add mapping for R_NIOS2_NONE.
3674 1.1.1.5 christos * elf32-spu.c (spu_elf_bfd_to_reloc_type): Allow return of R_SPU_NONE.
3675 1.1.1.5 christos (spu_elf_reloc_type_lookup): Adjust to suit.
3676 1.1.1.5 christos
3677 1.1.1.5 christos 2015-01-19 Alan Modra <amodra (a] gmail.com>
3678 1.1.1.5 christos
3679 1.1.1.5 christos * bfd-in.h (bfd_get_section_limit_octets): New define, extracted from..
3680 1.1.1.5 christos (bfd_get_section_limit): ..here.
3681 1.1.1.5 christos * reloc.c (bfd_perform_relocation): Correct bfd_reloc_outofrange check.
3682 1.1.1.5 christos (bfd_install_relocation, _bfd_final_link_relocate): Add same check here.
3683 1.1.1.5 christos * elf32-sh.c (sh_elf_reloc): Correct bfd_reloc_outofrange check.
3684 1.1.1.5 christos * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Remove duplicated
3685 1.1.1.5 christos bfd_reloc_outofrange check.
3686 1.1.1.5 christos * bfd-in2.h: Regenerate.
3687 1.1.1.5 christos
3688 1.1.1.5 christos * cpu-ns32k.c (_bfd_do_ns32k_reloc_contents): Return bfd_reloc_ok
3689 1.1.1.5 christos on zero size relocs.
3690 1.1.1.5 christos * ecoff.c (ecoff_reloc_link_order): Likewise.
3691 1.1.1.5 christos * elf32-nds32.c (nds32_relocate_contents): Likewise.
3692 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
3693 1.1.1.5 christos
3694 1.1.1.5 christos * reloc.c (_bfd_relocate_contents): Don't bomb on zero size relocs.
3695 1.1.1.5 christos (_bfd_clear_contents): Likewise.
3696 1.1.1.5 christos * elfxx-mips.c (mips_elf_obtain_contents): Likewise.
3697 1.1.1.5 christos (mips_elf_perform_relocation): Likewise.
3698 1.1.1.5 christos
3699 1.1.1.5 christos * aoutx.h (aout_link_reloc_link_order): Allow for NULL return
3700 1.1.1.5 christos from malloc on zero size alloc.
3701 1.1.1.5 christos * cofflink.c (_bfd_coff_reloc_link_order): Likewise.
3702 1.1.1.5 christos * elflink.c (elf_reloc_link_order): Likewise.
3703 1.1.1.5 christos * linker.c (_bfd_generic_reloc_link_order): Likewise.
3704 1.1.1.5 christos * pdp11.c (aout_link_reloc_link_order): Likewise.
3705 1.1.1.5 christos * xcofflink.c (xcoff_reloc_link_order): Likewise.
3706 1.1.1.5 christos
3707 1.1.1.5 christos * aoutx.h (howto_table_ext): Ensure NONE relocs have size 3,
3708 1.1.1.5 christos bitsize 0, and complain_overflow_dont.
3709 1.1.1.5 christos * coff-sparc.c (coff_sparc_howto_table): Likewise.
3710 1.1.1.5 christos * elf-hppa.h (elf_hppa_howto_table): Likewise.
3711 1.1.1.5 christos * elf-m10200.c (elf_mn10200_howto_table): Likewise.
3712 1.1.1.5 christos * elf-m10300.c (elf_mn10300_howto_table): Likewise.
3713 1.1.1.5 christos * elf32-arc.c (elf_arc_howto_table): Likewise.
3714 1.1.1.5 christos * elf32-arm.c (elf32_arm_howto_table_1): Likewise.
3715 1.1.1.5 christos * elf32-avr.c (elf_avr_howto_table): Likewise.
3716 1.1.1.5 christos * elf32-bfin.c (bfin_howto_table): Likewise.
3717 1.1.1.5 christos * elf32-cr16.c (cr16_elf_howto_table): Likewise.
3718 1.1.1.5 christos * elf32-cris.c (cris_elf_howto_table): Likewise.
3719 1.1.1.5 christos * elf32-crx.c (crx_elf_howto_table): Likewise.
3720 1.1.1.5 christos * elf32-d10v.c (elf_d10v_howto_table): Likewise.
3721 1.1.1.5 christos * elf32-d30v.c (elf_d30v_howto_table): Likewise.
3722 1.1.1.5 christos * elf32-dlx.c (dlx_elf_howto_table): Likewise.
3723 1.1.1.5 christos * elf32-epiphany.c (epiphany_elf_howto_table): Likewise.
3724 1.1.1.5 christos * elf32-fr30.c (fr30_elf_howto_table): Likewise.
3725 1.1.1.5 christos * elf32-frv.c (elf32_frv_howto_table): Likewise.
3726 1.1.1.5 christos * elf32-h8300.c (h8_elf_howto_table): Likewise.
3727 1.1.1.5 christos * elf32-i370.c (i370_elf_howto_raw): Likewise.
3728 1.1.1.5 christos * elf32-i386.c (elf_howto_table): Likewise.
3729 1.1.1.5 christos * elf32-i860.c (elf32_i860_howto_table): Likewise.
3730 1.1.1.5 christos * elf32-i960.c (elf32_i960_relocate): Likewise.
3731 1.1.1.5 christos * elf32-ip2k.c (ip2k_elf_howto_table): Likewise.
3732 1.1.1.5 christos * elf32-iq2000.c (iq2000_elf_howto_table): Likewise.
3733 1.1.1.5 christos * elf32-lm32.c (lm32_elf_howto_table): Likewise.
3734 1.1.1.5 christos * elf32-m32c.c (m32c_elf_howto_table): Likewise.
3735 1.1.1.5 christos * elf32-m32r.c (m32r_elf_howto_table): Likewise.
3736 1.1.1.5 christos * elf32-m68hc11.c (elf_m68hc11_howto_table): Likewise.
3737 1.1.1.5 christos * elf32-m68hc12.c (elf_m68hc11_howto_table): Likewise.
3738 1.1.1.5 christos * elf32-m68k.c (howto_table): Likewise.
3739 1.1.1.5 christos * elf32-mcore.c (mcore_elf_howto_raw): Likewise.
3740 1.1.1.5 christos * elf32-mep.c (mep_elf_howto_table): Likewise.
3741 1.1.1.5 christos * elf32-metag.c (elf_metag_howto_table): Likewise.
3742 1.1.1.5 christos * elf32-microblaze.c (microblaze_elf_howto_raw): Likewise.
3743 1.1.1.5 christos * elf32-mips.c (elf_mips_howto_table_rel): Likewise.
3744 1.1.1.5 christos * elf32-moxie.c (moxie_elf_howto_table): Likewise.
3745 1.1.1.5 christos * elf32-msp430.c (elf_msp430_howto_table): Likewise.
3746 1.1.1.5 christos * elf32-mt.c (mt_elf_howto_table): Likewise.
3747 1.1.1.5 christos * elf32-nds32.c (nds32_elf_howto_table): Likewise.
3748 1.1.1.5 christos * elf32-nios2.c (elf_nios2_howto_table_rel): Likewise.
3749 1.1.1.5 christos * elf32-or1k.c (or1k_elf_howto_table): Likewise.
3750 1.1.1.5 christos * elf32-pj.c (pj_elf_howto_table): Likewise.
3751 1.1.1.5 christos * elf32-ppc.c (ppc_elf_howto_raw): Likewise.
3752 1.1.1.5 christos * elf32-rl78.c (rl78_elf_howto_table): Likewise.
3753 1.1.1.5 christos * elf32-rx.c (rx_elf_howto_table): Likewise.
3754 1.1.1.5 christos * elf32-s390.c (elf_howto_table): Likewise.
3755 1.1.1.5 christos * elf32-score.c (elf32_score_howto_table): Likewise.
3756 1.1.1.5 christos * elf32-score7.c (elf32_score_howto_table): Likewise.
3757 1.1.1.5 christos * elf32-sh-relocs.h (R_SH_NONE): Likewise.
3758 1.1.1.5 christos * elf32-spu.c (elf_howto_table): Likewise.
3759 1.1.1.5 christos * elf32-tic6x.c (elf32_tic6x_howto_table): Likewise.
3760 1.1.1.5 christos * elf32-tilepro.c (tilepro_elf_howto_table): Likewise.
3761 1.1.1.5 christos * elf32-v850.c (v850_elf_howto_table): Likewise.
3762 1.1.1.5 christos * elf32-vax.c (howto_table): Likewise.
3763 1.1.1.5 christos * elf32-visium.c (visium_elf_howto_table): Likewise.
3764 1.1.1.5 christos * elf32-xc16x.c (xc16x_elf_howto_table): Likewise.
3765 1.1.1.5 christos * elf32-xgate.c (elf_xgate_howto_table): Likewise.
3766 1.1.1.5 christos * elf32-xstormy16.c (xstormy16_elf_howto_table): Likewise.
3767 1.1.1.5 christos * elf32-xtensa.c (elf_howto_table): Likewise.
3768 1.1.1.5 christos * elf64-alpha.c (elf64_alpha_howto_table): Likewise.
3769 1.1.1.5 christos * elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
3770 1.1.1.5 christos * elf64-mmix.c (elf_mmix_howto_table): Likewise.
3771 1.1.1.5 christos * elf64-ppc.c (ppc64_elf_howto_raw): Likewise.
3772 1.1.1.5 christos * elf64-s390.c (elf_howto_table): Likewise.
3773 1.1.1.5 christos * elf64-sh64.c (sh_elf64_howto_table): Likewise.
3774 1.1.1.5 christos * elf64-x86-64.c (x86_64_elf_howto_table): Likewise.
3775 1.1.1.5 christos * elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
3776 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
3777 1.1.1.5 christos (elfNN_aarch64_howto_none): Likewise.
3778 1.1.1.5 christos * elfxx-ia64.c (ia64_howto_table): Likewise.
3779 1.1.1.5 christos * elfxx-sparc.c (_bfd_sparc_elf_howto_table): Likewise.
3780 1.1.1.5 christos * elfxx-tilegx.c (tilegx_elf_howto_table): Likewise.
3781 1.1.1.5 christos * nlm32-sparc.c (nlm32_sparc_howto_table): Likewise.
3782 1.1.1.5 christos
3783 1.1.1.5 christos 2015-01-15 H.J. Lu <hongjiu.lu (a] intel.com>
3784 1.1.1.5 christos
3785 1.1.1.5 christos PR ld/17847
3786 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
3787 1.1.1.5 christos about -fPIC if the symbol is undefined when building executable.
3788 1.1.1.5 christos
3789 1.1.1.5 christos 2015-01-15 Nick Clifton <nickc (a] redhat.com>
3790 1.1.1.5 christos
3791 1.1.1.5 christos PR binutils/17512
3792 1.1.1.5 christos * elf-m10300.c (mn10300_info_to_howto): Replace assertion with an
3793 1.1.1.5 christos error message. Never return an invalid howto pointer.
3794 1.1.1.5 christos * elf32-cr16.c (cr16_info_to_howto): Likewise.
3795 1.1.1.5 christos * elf32-crx.c (elf_crx_info_to_howto): Likewise.
3796 1.1.1.5 christos * elf32-i370.c (i370_elf_info_to_howto): Likewise.
3797 1.1.1.5 christos * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
3798 1.1.1.5 christos * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
3799 1.1.1.5 christos * elf32-mips.c (mips_elf32_rtype_to_howto): Likewise.
3800 1.1.1.5 christos * elf32-pj.c (pj_elf_info_to_howto): Likewise.
3801 1.1.1.5 christos * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
3802 1.1.1.5 christos * elf32-spu.c (spu_elf_info_to_howto): Likewise.
3803 1.1.1.5 christos * elf32-v850.c (v850_elf_info_to_howto_rela): Likewise.
3804 1.1.1.5 christos * elf32-vax.c (rtype_to_howto): Likewise.
3805 1.1.1.5 christos * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
3806 1.1.1.5 christos * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
3807 1.1.1.5 christos * elfn32-mips.c (sh_elf_info_to_howto): Likewise.
3808 1.1.1.5 christos * elf32-sh.c (sh_elf_info_to_howto): Likewise.
3809 1.1.1.5 christos (sh_elf_reloc): Check that the reloc is in range.
3810 1.1.1.5 christos * reloc.c (bfd_perform_relocation): Check that the section is big
3811 1.1.1.5 christos enough for the entire reloc.
3812 1.1.1.5 christos (bfd_generic_get_relocated_section_contents): Report unexpected
3813 1.1.1.5 christos return values from perform_reloc.
3814 1.1.1.5 christos
3815 1.1.1.5 christos 2015-01-15 Nick Clifton <nickc (a] redhat.com>
3816 1.1.1.5 christos
3817 1.1.1.5 christos * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
3818 1.1.1.5 christos relocs. Include PC-relative adjustment for R_MSP430X_ABS16
3819 1.1.1.5 christos relaxation.
3820 1.1.1.5 christos
3821 1.1.1.5 christos 2015-01-15 Alan Modra <amodra (a] gmail.com>
3822 1.1.1.5 christos
3823 1.1.1.5 christos * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
3824 1.1.1.5 christos any output section matching a linker created dynobj section.
3825 1.1.1.5 christos
3826 1.1.1.5 christos 2015-01-15 Alan Modra <amodra (a] gmail.com>
3827 1.1.1.5 christos
3828 1.1.1.5 christos PR 17842
3829 1.1.1.5 christos * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
3830 1.1.1.5 christos (bfd_elf_final_link): Always create a symbol table when emit_relocs.
3831 1.1.1.5 christos Don't assign symtab file position unless symbols will be output.
3832 1.1.1.5 christos Merge blocks with condition in common. Don't call
3833 1.1.1.5 christos elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
3834 1.1.1.5 christos unless other symbols are output. Move assignment of symtab_shndx
3835 1.1.1.5 christos file position. Localize variable.
3836 1.1.1.5 christos
3837 1.1.1.5 christos 2015-01-14 Jiong Wang <jiong.wang (a] arm.com>
3838 1.1.1.5 christos
3839 1.1.1.5 christos * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
3840 1.1.1.5 christos trying to defer them to runtime.
3841 1.1.1.5 christos
3842 1.1.1.5 christos 2015-01-13 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3843 1.1.1.5 christos
3844 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
3845 1.1.1.5 christos to check if a symbol should be bound symbolically.
3846 1.1.1.5 christos
3847 1.1.1.5 christos 2015-01-13 Jiong Wang <jiong.wang (a] arm.com>
3848 1.1.1.5 christos
3849 1.1.1.5 christos * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
3850 1.1.1.5 christos for TLSLE_MOVW_TPREL_G2.
3851 1.1.1.5 christos
3852 1.1.1.5 christos 2015-01-13 Jiong Wang <jiong.wang (a] arm.com>
3853 1.1.1.5 christos
3854 1.1.1.5 christos PR ld/17415
3855 1.1.1.5 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
3856 1.1.1.5 christos R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
3857 1.1.1.5 christos * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
3858 1.1.1.5 christos bit mask.
3859 1.1.1.5 christos
3860 1.1.1.5 christos 2015-01-12 Terry Guo <terry.guo (a] arm.com>
3861 1.1.1.5 christos
3862 1.1.1.5 christos * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
3863 1.1.1.5 christos function.
3864 1.1.1.5 christos (_bfd_elf_gc_mark_extra_sections): Use it.
3865 1.1.1.5 christos
3866 1.1.1.5 christos 2015-01-11 H.J. Lu <hongjiu.lu (a] intel.com>
3867 1.1.1.5 christos
3868 1.1.1.5 christos PR ld/17827
3869 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
3870 1.1.1.5 christos only discard space for pc-relative relocs symbols which turn
3871 1.1.1.5 christos out to need copy relocs.
3872 1.1.1.5 christos
3873 1.1.1.5 christos 2015-01-09 Nick Clifton <nickc (a] redhat.com>
3874 1.1.1.4 christos
3875 1.1.1.5 christos * tekhex.c (getvalue): Fix thinko in test for correct extraction
3876 1.1.1.5 christos of value.
3877 1.1.1.5 christos (getsym): Return false if there was not enough data to extract the
3878 1.1.1.5 christos symbol.
3879 1.1.1.4 christos
3880 1.1.1.5 christos 2015-01-09 Anthony Green <green (a] moxielogic.com>
3881 1.1 skrll
3882 1.1.1.5 christos * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
3883 1.1.1.5 christos
3884 1.1.1.5 christos 2015-01-08 Nick Clifton <nickc (a] redhat.com>
3885 1.1.1.5 christos
3886 1.1.1.5 christos * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
3887 1.1.1.5 christos 16-bit absolute BR instructions to 10-bit pc-relative JMP
3888 1.1.1.5 christos instructions.
3889 1.1.1.5 christos
3890 1.1.1.5 christos 2015-01-08 Nick Clifton <nickc (a] redhat.com>
3891 1.1.1.5 christos
3892 1.1.1.5 christos PR binutils/17512
3893 1.1.1.5 christos * coffcode.h (coff_slurp_symbol_table): Return false if we failed
3894 1.1.1.5 christos to load the line table.
3895 1.1.1.5 christos * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
3896 1.1.1.5 christos maxpagesize of 1.
3897 1.1.1.5 christos * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
3898 1.1.1.5 christos the Data Directory Size is too large.
3899 1.1.1.5 christos
3900 1.1.1.5 christos 2015-01-06 H.J. Lu <hongjiu.lu (a] intel.com>
3901 1.1.1.5 christos
3902 1.1.1.5 christos PR binutils/17512
3903 1.1.1.5 christos * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
3904 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
3905 1.1.1.5 christos
3906 1.1.1.5 christos 2015-01-06 Nick Clifton <nickc (a] redhat.com>
3907 1.1.1.5 christos
3908 1.1.1.5 christos PR binutils/17512
3909 1.1.1.5 christos * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
3910 1.1.1.5 christos string table.
3911 1.1.1.5 christos
3912 1.1.1.5 christos * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
3913 1.1.1.5 christos (bfd_perform_relocation): Include the size of the reloc in the
3914 1.1.1.5 christos test for an out of range relocation.
3915 1.1.1.5 christos (bfd_generic_get_relocated_section_contents): Remove reloc range
3916 1.1.1.5 christos test.
3917 1.1.1.5 christos
3918 1.1.1.5 christos * coff-i860.c (CALC_ADDEND): Always set an addend value.
3919 1.1.1.5 christos * tekhex.c (getvalue): Add an end pointer parameter. Use it to
3920 1.1.1.5 christos avoid reading off the end of the buffer.
3921 1.1.1.5 christos (getsym): Likewise.
3922 1.1.1.5 christos (first_phase): Likewise.
3923 1.1.1.5 christos (pass_over): Pass an end pointer to the invoked function.
3924 1.1.1.5 christos
3925 1.1.1.5 christos 2015-01-05 H.J. Lu <hongjiu.lu (a] intel.com>
3926 1.1.1.5 christos
3927 1.1.1.5 christos PR binutils/17512
3928 1.1.1.5 christos * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
3929 1.1.1.5 christos input.
3930 1.1.1.5 christos * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
3931 1.1.1.5 christos
3932 1.1.1.5 christos 2015-01-05 Nick Clifton <nickc (a] redhat.com>
3933 1.1.1.5 christos
3934 1.1.1.5 christos PR binutils/17512
3935 1.1.1.5 christos * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
3936 1.1.1.5 christos is at least big enough for the header to be read.
3937 1.1.1.5 christos * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
3938 1.1.1.5 christos * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
3939 1.1.1.5 christos (bfd_mach_o_read_command): Prevetn duplicate error messages about
3940 1.1.1.5 christos unrecognized commands.
3941 1.1.1.5 christos * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
3942 1.1.1.5 christos when indexing into the string table.
3943 1.1.1.5 christos
3944 1.1.1.5 christos 2015-01-01 Alan Modra <amodra (a] gmail.com>
3945 1.1.1.5 christos
3946 1.1.1.5 christos Update year range in copyright notice of all files.
3947 1.1.1.5 christos
3948 1.1.1.5 christos For older changes see ChangeLog-2014
3949 1.1 skrll
3951 1.1.1.5 christos Copyright (C) 2015 Free Software Foundation, Inc.
3952 1.1.1.5 christos
3953 1.1.1.5 christos Copying and distribution of this file, with or without modification,
3954 1.1.1.5 christos are permitted in any medium without royalty provided the copyright
3955 1.1.1.5 christos notice and this notice are preserved.
3956 1.1 skrll
3957 1.1 skrll Local Variables:
3958 1.1 skrll mode: change-log
3959 1.1 skrll left-margin: 8
3960 1.1 skrll fill-column: 74
3961 1.1 skrll version-control: never
3962 End:
3963