Commit | Line | Data |
---|---|---|
78058a5e SL |
1 | 2014-01-30 Sandra Loosemore <sandra@codesourcery.com> |
2 | ||
3 | * bfd-in2.h: Update from reloc.c. | |
4 | * elf32-nios2.c: Include elf32-nios2.h. | |
5 | (elf_nios2_howto_table_rel): Add entry for R_NIOS2_CALL26_NOAT. | |
6 | (nios2_reloc_map): Likewise. | |
7 | (enum elf32_nios2_stub_type): Declare. | |
8 | (struct elf32_nios2_stub_hash_entry): Declare. | |
9 | (nios2_stub_hash_entry, nios2_stub_hash_lookup): New macros. | |
10 | (struct elf32_nios2_link_hash_entry): Add hsh_cache field. | |
11 | (struct elf32_nios2_link_hash_table): Add new fields bstab, | |
12 | stub_bfd, add_stub_section, layout_sections_again, stub_group, | |
13 | bfd_count, top_index, input_list, all_local_syms. | |
14 | (nios2_call26_stub_entry): New. | |
15 | (nios2_elf32_install_imm16): Move up in file. | |
16 | (nios2_elf32_install_data): Move up in file. | |
17 | (hiadj): Move up in file. | |
18 | (stub_hash_newfunc): New. | |
19 | (link_hash_newfunc): Initialize hsh_cache field. | |
20 | (STUB_SUFFIX): New. | |
21 | (nios2_stub_name): New. | |
22 | (nios2_get_stub_entry): New. | |
23 | (nios2_add_stub): New. | |
24 | (nios2_elf32_setup_section_lists): New. | |
25 | (nios2_elf32_next_input_section): New. | |
26 | (CALL26_SEGMENT): New. | |
27 | (MAX_STUB_SECTION_SIZE): New. | |
28 | (group_sections): New. | |
29 | (nios2_type_of_stub): New. | |
30 | (nios2_build_one_stub): New. | |
31 | (nios2_size_one_stub): New. | |
32 | (get_local_syms): New. | |
33 | (nios2_elf32_size_stubs): New. | |
34 | (nios2_elf32_build_stubs): New. | |
35 | (nios2_elf32_do_call26_relocate): Correct CALL26 overflow test. | |
36 | (nios2_elf32_relocate_section): Handle R_NIOS2_CALL26_NOAT. Add | |
37 | trampolines for R_NIOS2_CALL26 stubs. | |
38 | (nios2_elf32_check_relocs): Handle R_NIOS2_CALL26_NOAT. | |
39 | (nios2_elf32_gc_sweep_hook): Likewise. | |
40 | (nios2_elf32_link_hash_table_create): Initialize the stub hash table. | |
41 | (nios2_elf32_link_hash_table_free): New. | |
42 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
43 | * elf32-nios2.h: New file. | |
44 | * libbfd.h: Update from reloc.c. | |
45 | * reloc.c (BFD_RELOC_NIOS2_CALL26_NOAT): New. | |
46 | ||
df3ce959 NC |
47 | 2014-01-29 Nick Clifton <nickc@redhat.com> |
48 | ||
49 | PR binutils/16318 | |
50 | * elf32-metag.c (elf_metag_post_process_headers): Call | |
51 | _bfd_elf_post_process_headers. | |
52 | * elf32-sh64.c (sh64_elf_copy_private_data): Call | |
53 | _bfd_elf_copy_private_data. | |
54 | * elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise. | |
55 | ||
27b829ee NC |
56 | 2014-01-29 Nick Clifton <nickc@redhat.com> |
57 | ||
58 | * bfd-in.h (bfd_set_section_vma): Delete. | |
59 | (bfd_set_section_alignment): Delete. | |
60 | (bfd_set_section_userdata): Delete. | |
61 | (bfd_set_cacheable): Delete. | |
62 | * bfd.c (bfd_set_cacheable): New static inline function. | |
63 | * section.c (bfd_set_section_userdata): Likewise. | |
64 | (bfd_set_section_vma): Likewise. | |
65 | (bfd_set_section_alignment): Likewise. | |
66 | * bfd-in2.h: Regenerate. | |
67 | ||
0a9c7b2b NC |
68 | 2014-01-28 Nick Clifton <nickc@redhat.com> |
69 | ||
70 | * dwarf2.c (find_abstract_instance_name): For DW_FORM_ref_addr | |
71 | attributes select the CU containing the abbreviation, which may not | |
72 | be the current CU. | |
73 | ||
3ba720c7 AM |
74 | 2014-01-24 Alan Modra <amodra@gmail.com> |
75 | ||
76 | * elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed | |
77 | to get_relocs for ELFv2. | |
78 | ||
d923cae0 L |
79 | 2014-01-23 H.J. Lu <hongjiu.lu@intel.com> |
80 | ||
81 | PR ld/16498 | |
3ba720c7 | 82 | * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error |
d923cae0 L |
83 | if TLS sections are not adjacent. |
84 | ||
16e4ecc0 AM |
85 | 2014-01-22 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed. | |
88 | ||
eb8d7fda AM |
89 | 2014-01-22 Alan Modra <amodra@gmail.com> |
90 | ||
91 | * elf64-ppc.c (STK_LINKER): Comment typo fix. | |
92 | ||
4584ec12 L |
93 | 2014-01-21 H.J. Lu <hongjiu.lu@intel.com> |
94 | ||
95 | PR ld/16467 | |
96 | * elflink.c (_bfd_elf_merge_symbol): When types of the existing | |
97 | regular default symbol definition and the versioned dynamic | |
98 | symbol definition mismatch, skip the default symbol definition | |
99 | if one of them is IFUNC. | |
100 | ||
22ef172a L |
101 | 2014-01-21 H.J. Lu <hongjiu.lu@intel.com> |
102 | ||
103 | PR ld/2404 | |
104 | * elflink.c (_bfd_elf_merge_symbol): Don't check info->shared, | |
105 | info->export_dynamic nor h->ref_dynamic for type mismatch when | |
106 | adding the default version. | |
107 | ||
b75d42bc AM |
108 | 2014-01-16 Alan Modra <amodra@gmail.com> |
109 | ||
110 | * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a | |
111 | mips_elf_traverse_got_arg* rather than mips_got_info*. | |
112 | Adjust caller. Alloc on output_bfd rather than symbol section | |
113 | owner. | |
114 | ||
c353e543 L |
115 | 2014-01-15 H.J. Lu <hongjiu.lu@intel.com> |
116 | ||
117 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last | |
118 | change. | |
119 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
120 | ||
818d220a L |
121 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
122 | ||
123 | PR ld/16428 | |
124 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs | |
125 | against __ehdr_start. | |
126 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
127 | ||
c3ce498c L |
128 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
129 | ||
130 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last | |
131 | change. | |
132 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
133 | ||
d1ec1e40 L |
134 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
135 | ||
136 | PR ld/16428 | |
137 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc | |
138 | count if there are any non pc-relative relocs. | |
139 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
140 | ||
f44a1f8e CL |
141 | 2014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org> |
142 | Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org> | |
143 | ||
144 | * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct | |
145 | offset while calculating relocation address. | |
146 | (elfNN_aarch64_create_small_pltn_entry): Likewise. | |
147 | (elfNN_aarch64_init_small_plt0_entry): Likewise. | |
148 | ||
fd0fd00c MJ |
149 | 2014-01-13 Ma Jiang <ma.jiang@zte.com.cn> |
150 | ||
151 | PR ld/16202 | |
152 | * elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for | |
153 | R_ARM_ABS8 and R_ARM_ABS16. | |
154 | ||
aa726b9e AM |
155 | 2014-01-13 Alan Modra <amodra@gmail.com> |
156 | ||
157 | * elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc, | |
158 | error when shared and force a plt call otherwise. | |
159 | (ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless | |
160 | plt_type == PLT_NEW. | |
161 | (ppc_elf_relocate_section): Add missing test to resolve ifuncs to | |
162 | the appropriate call stub. | |
163 | ||
eec2f3ed AM |
164 | 2014-01-10 Alan Modra <amodra@gmail.com> |
165 | ||
166 | PR ld/14207 | |
167 | PR ld/16322 | |
168 | PR binutils/16323 | |
169 | * elf.c (assign_file_positions_for_load_sections): Revert last change. | |
170 | (assign_file_positions_for_non_load_sections): When setting up | |
171 | PT_GNU_RELRO header, don't require a corresponding PT_LOAD | |
172 | header that completely covers the relro region. | |
173 | ||
09bf66a8 TG |
174 | 2014-01-09 Tristan Gingold <gingold@adacore.com> |
175 | ||
176 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump | |
177 | table macros and add macros to initializa the structure. | |
178 | ||
43a8475c L |
179 | 2014-01-08 H.J. Lu <hongjiu.lu@intel.com> |
180 | ||
181 | PR ld/14207 | |
182 | PR ld/16322 | |
183 | PR binutils/16323 | |
184 | * elf.c (_bfd_elf_map_sections_to_segments): Don't check section | |
185 | size for PT_GNU_RELRO segment. | |
186 | (assign_file_positions_for_load_sections): If PT_LOAD segment | |
187 | doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz. | |
188 | ||
1651e569 TT |
189 | 2014-01-07 Tom Tromey <tromey@redhat.com> |
190 | ||
191 | * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility | |
192 | wrappers. | |
193 | ||
dc9155b2 NC |
194 | 2014-01-03 Nick Clifton <nickc@redhat.com> |
195 | ||
196 | PR binutils/16199 | |
197 | * elf.c (vma_page_aligned_bias): Handle a maxpagesize value of | |
198 | zero. | |
199 | ||
dd8dfa39 | 200 | 2014-01-02 Yuanhui Zhang <asmwarrior@gmail.com> |
044387af A |
201 | |
202 | PR binutils/14289 | |
203 | * pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80. | |
204 | ||
1be5090b NC |
205 | 2014-01-02 Nick Clifton <nickc@redhat.com> |
206 | ||
207 | PR binutils/11983 | |
208 | * archive.c (_bfd_get_elt_at_filepos): Store a copy of the | |
209 | filename in the bfd's filename field. | |
210 | * elfcode.h (bfd_from_remote_memory): Likewise. | |
211 | * ieee.c (ieee_object_p): Likewise. | |
212 | * mach-o.c (bfd_mach_o_fat_member_init): Likewise. | |
213 | * oasys.c (oasys_openr_next_archived_file): Likewise. | |
214 | * vms-lib.c (_bfd_vms_lib_get_module): Likewise. | |
215 | * opncls.c (bfd_fopen): Likewise. | |
216 | (bfd_openstreamr): Likewise. | |
217 | (bfd_openr_iovec): Likewise. | |
218 | (bfd_openw): Likewise. | |
219 | (bfd_create): Likewise. | |
220 | (_bfd_delete_bfd): Free filename. | |
221 | ||
5fb776a6 | 222 | For older changes see ChangeLog-2013 |
56882138 | 223 | \f |
5fb776a6 | 224 | Copyright (C) 2014 Free Software Foundation, Inc. |
752937aa NC |
225 | |
226 | Copying and distribution of this file, with or without modification, | |
227 | are permitted in any medium without royalty provided the copyright | |
228 | notice and this notice are preserved. | |
229 | ||
56882138 AM |
230 | Local Variables: |
231 | mode: change-log | |
232 | left-margin: 8 | |
233 | fill-column: 74 | |
234 | version-control: never | |
235 | End: |