ARC/BFD: Fix a build error from `index' shadowing a global declaration
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
2
3 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
4 `dynindx'.
5
6 2016-01-25 Nick Clifton <nickc@redhat.com>
7
8 PR target/19435
9 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
10 dsym filename buffer.
11
12 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
13
14 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
15
16 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
17
18 * elfxx-mips.c (BZ16_REG): Correct calculation.
19
20 2016-01-21 Nick Clifton <nickc@redhat.com>
21
22 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
23 changing the type of _loc to be bfd_byte *.
24 (elf_arc_finish_dynamic_symbol): Likewise.
25
26 2016-01-21 Nick Clifton <nickc@redhat.com>
27
28 PR ld/19455
29 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
30 class of the linker stub bfd.
31 (elf32_arm_check_relocs): Skip check for pic format after
32 processing a vxWorks R_ARM_ABS12 reloc.
33 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
34 reporting a class mismatch.
35
36 2016-01-21 Jiong Wang <jiong.wang@arm.com>
37
38 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
39 veneer for sym_sec != input_sec.
40 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
41 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
42 calculation destination.
43
44 2016-01-21 Alan Modra <amodra@gmail.com>
45
46 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
47 (swap_linux_prpsinfo64_out): New function.
48 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
49 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
50 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
51 (elfcore_write_linux_prpsinfo64): Likewise.
52 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
53 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
54 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
55
56 2016-01-21 Alan Modra <amodra@gmail.com>
57
58 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
59 * elf.c: Adjust #include.
60 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
61 * Makefile.am (SOURCE_HFILES): Update.
62 * Makefile.in: Regenerate.
63 * po/SRC-PORFILES.in: Regenerate.
64
65 2016-01-21 Alan Modra <amodra@gmail.com>
66
67 * configure.ac: Move corefile selection later in file. Move
68 tdefaults code immediately after other target vector code.
69 * configure: Regenerate.
70
71 2016-01-20 Mickael Guene <mickael.guene@st.com>
72
73 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
74 section using '.text.noread' pattern.
75
76 2016-01-19 John Baldwin <jhb@FreeBSD.org>
77
78 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
79
80 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
81 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
82
83 * arc-plt.def: New file.
84 * arc-plt.h: Likewise.
85 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
86 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
87 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
88 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
89 (name_for_global_symbol): Added.
90 (ADD_RELA): Helper to create dynamic relocs.
91 (new_got_entry_to_list): Create a new got entry in linked list.
92 (symbol_has_entry_of_type): Search for specific type of entry in
93 list.
94 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
95 (is_reloc_for_TLS, arc_elf_set_private_flags)
96 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
97 (arc_elf_merge_private_bfd_data): New functions.
98 (debug_arc_reloc): Cleaned debug info printing.
99 (PDATA reloc): Changed not to perform address alignment.
100 (reverse_me): Added. Fix for ARC_32 relocs.
101 (arc_do_relocation): Return bfd_reloc_of when no relocation should
102 occur.
103 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
104 Changed function to access an array of list of GOT entries instead
105 of just an array of offsets.
106 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
107 (elf_arc_check_relocs): Likewise.
108 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
109 (elf_arc_finish_dynamic_sections): Likewise
110 (arc_create_dynamic_sections): Modified conditions to create
111 dynamic sections.
112 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
113 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
114 (relocate_plt_for_entry): Changed to support new way to define PLT
115 related code.
116 (add_symbol_to_plt): Likewise.
117 (arc_elf_link_hash_table_create): New function.
118
119 2016-01-18 Nick Clifton <nickc@redhat.com>
120
121 PR ld/19440
122 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
123 section number into internal section number.
124 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
125 * coffswap.h (coff_swap_sym_in): Likewise.
126 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
127 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
128 section number field is big enough to hold the external value.
129
130 2016-01-17 Alan Modra <amodra@gmail.com>
131
132 * configure: Regenerate.
133
134 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
135
136 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
137 when address in first unwind entry does not match start of
138 section.
139
140 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
141 Jiong Wang <jiong.wang@arm.com>
142
143 PR ld/19368
144 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
145 reloc_class_ifunc.
146
147 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
150 place 'R_' before the reloc name returned.
151 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
152 the relocation string.
153
154 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
155
156 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
157 factored out from...
158 (_bfd_mips_elf_merge_private_bfd_data): ... here.
159
160 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
161
162 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
163 attribute check after ELF file header flag check.
164
165 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
166
167 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
168 return status from `_bfd_elf_merge_object_attributes'.
169
170 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
171
172 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
173 factored out from...
174 (_bfd_mips_elf_merge_private_bfd_data): ... here.
175
176 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
177
178 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
179 handling of input MIPS ABI flags together.
180
181 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
182
183 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
184 attribute checks for null input.
185
186 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
187
188 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
189 pointers to target data.
190
191 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
192
193 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
194 an FP ABI warning.
195
196 2016-01-01 Alan Modra <amodra@gmail.com>
197
198 Update year range in copyright notice of all files.
199
200 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
201 \f
202 Copyright (C) 2016 Free Software Foundation, Inc.
203
204 Copying and distribution of this file, with or without modification,
205 are permitted in any medium without royalty provided the copyright
206 notice and this notice are preserved.
207
208 Local Variables:
209 mode: change-log
210 left-margin: 8
211 fill-column: 74
212 version-control: never
213 End:
This page took 0.04416 seconds and 5 git commands to generate.