1 2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
4 * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
5 about -fPIC if the symbol is undefined when building executable.
7 2015-01-15 Nick Clifton <nickc@redhat.com>
10 * elf-m10300.c (mn10300_info_to_howto): Replace assertion with an
11 error message. Never return an invalid howto pointer.
12 * elf32-cr16.c (cr16_info_to_howto): Likewise.
13 * elf32-crx.c (elf_crx_info_to_howto): Likewise.
14 * elf32-i370.c (i370_elf_info_to_howto): Likewise.
15 * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
16 * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
17 * elf32-mips.c (mips_elf32_rtype_to_howto): Likewise.
18 * elf32-pj.c (pj_elf_info_to_howto): Likewise.
19 * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
20 * elf32-spu.c (spu_elf_info_to_howto): Likewise.
21 * elf32-v850.c (v850_elf_info_to_howto_rela): Likewise.
22 * elf32-vax.c (rtype_to_howto): Likewise.
23 * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
24 * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
25 * elfn32-mips.c (sh_elf_info_to_howto): Likewise.
26 * elf32-sh.c (sh_elf_info_to_howto): Likewise.
27 (sh_elf_reloc): Check that the reloc is in range.
28 * reloc.c (bfd_perform_relocation): Check that the section is big
29 enough for the entire reloc.
30 (bfd_generic_get_relocated_section_contents): Report unexpected
31 return values from perform_reloc.
33 2015-01-15 Nick Clifton <nickc@redhat.com>
35 * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
36 relocs. Include PC-relative adjustment for R_MSP430X_ABS16
39 2015-01-15 Alan Modra <amodra@gmail.com>
41 * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
42 any output section matching a linker created dynobj section.
44 2015-01-15 Alan Modra <amodra@gmail.com>
47 * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
48 (bfd_elf_final_link): Always create a symbol table when emit_relocs.
49 Don't assign symtab file position unless symbols will be output.
50 Merge blocks with condition in common. Don't call
51 elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
52 unless other symbols are output. Move assignment of symtab_shndx
53 file position. Localize variable.
55 2015-01-14 Jiong Wang <jiong.wang@arm.com>
57 * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
58 trying to defer them to runtime.
60 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
62 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
63 to check if a symbol should be bound symbolically.
65 2015-01-13 Jiong Wang <jiong.wang@arm.com>
67 * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
68 for TLSLE_MOVW_TPREL_G2.
70 2015-01-13 Jiong Wang <jiong.wang@arm.com>
73 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
74 R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
75 * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
78 2015-01-12 Terry Guo <terry.guo@arm.com>
80 * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
82 (_bfd_elf_gc_mark_extra_sections): Use it.
84 2015-01-11 H.J. Lu <hongjiu.lu@intel.com>
87 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
88 only discard space for pc-relative relocs symbols which turn
89 out to need copy relocs.
91 2015-01-09 Nick Clifton <nickc@redhat.com>
93 * tekhex.c (getvalue): Fix thinko in test for correct extraction
95 (getsym): Return false if there was not enough data to extract the
98 2015-01-09 Anthony Green <green@moxielogic.com>
100 * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
102 2015-01-08 Nick Clifton <nickc@redhat.com>
104 * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
105 16-bit absolute BR instructions to 10-bit pc-relative JMP
108 2015-01-08 Nick Clifton <nickc@redhat.com>
111 * coffcode.h (coff_slurp_symbol_table): Return false if we failed
112 to load the line table.
113 * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
115 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
116 the Data Directory Size is too large.
118 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
121 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
122 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
124 2015-01-06 Nick Clifton <nickc@redhat.com>
127 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
130 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
131 (bfd_perform_relocation): Include the size of the reloc in the
132 test for an out of range relocation.
133 (bfd_generic_get_relocated_section_contents): Remove reloc range
136 * coff-i860.c (CALC_ADDEND): Always set an addend value.
137 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
138 avoid reading off the end of the buffer.
140 (first_phase): Likewise.
141 (pass_over): Pass an end pointer to the invoked function.
143 2015-01-05 H.J. Lu <hongjiu.lu@intel.com>
146 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
148 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
150 2015-01-05 Nick Clifton <nickc@redhat.com>
153 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
154 is at least big enough for the header to be read.
155 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
156 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
157 (bfd_mach_o_read_command): Prevetn duplicate error messages about
158 unrecognized commands.
159 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
160 when indexing into the string table.
162 2015-01-01 Alan Modra <amodra@gmail.com>
164 Update year range in copyright notice of all files.
166 For older changes see ChangeLog-2014
168 Copyright (C) 2015 Free Software Foundation, Inc.
170 Copying and distribution of this file, with or without modification,
171 are permitted in any medium without royalty provided the copyright
172 notice and this notice are preserved.
178 version-control: never