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