1 2015-01-15 Alan Modra <amodra@gmail.com>
4 * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
5 (bfd_elf_final_link): Always create a symbol table when emit_relocs.
6 Don't assign symtab file position unless symbols will be output.
7 Merge blocks with condition in common. Don't call
8 elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
9 unless other symbols are output. Move assignment of symtab_shndx
10 file position. Localize variable.
12 2015-01-14 Jiong Wang <jiong.wang@arm.com>
14 * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
15 trying to defer them to runtime.
17 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
19 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
20 to check if a symbol should be bound symbolically.
22 2015-01-13 Jiong Wang <jiong.wang@arm.com>
24 * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
25 for TLSLE_MOVW_TPREL_G2.
27 2015-01-13 Jiong Wang <jiong.wang@arm.com>
30 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
31 R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
32 * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
35 2015-01-12 Terry Guo <terry.guo@arm.com>
37 * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
39 (_bfd_elf_gc_mark_extra_sections): Use it.
41 2015-01-11 H.J. Lu <hongjiu.lu@intel.com>
44 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
45 only discard space for pc-relative relocs symbols which turn
46 out to need copy relocs.
48 2015-01-09 Nick Clifton <nickc@redhat.com>
50 * tekhex.c (getvalue): Fix thinko in test for correct extraction
52 (getsym): Return false if there was not enough data to extract the
55 2015-01-09 Anthony Green <green@moxielogic.com>
57 * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
59 2015-01-08 Nick Clifton <nickc@redhat.com>
61 * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
62 16-bit absolute BR instructions to 10-bit pc-relative JMP
65 2015-01-08 Nick Clifton <nickc@redhat.com>
68 * coffcode.h (coff_slurp_symbol_table): Return false if we failed
69 to load the line table.
70 * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
72 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
73 the Data Directory Size is too large.
75 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
78 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
79 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
81 2015-01-06 Nick Clifton <nickc@redhat.com>
84 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
87 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
88 (bfd_perform_relocation): Include the size of the reloc in the
89 test for an out of range relocation.
90 (bfd_generic_get_relocated_section_contents): Remove reloc range
93 * coff-i860.c (CALC_ADDEND): Always set an addend value.
94 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
95 avoid reading off the end of the buffer.
97 (first_phase): Likewise.
98 (pass_over): Pass an end pointer to the invoked function.
100 2015-01-05 H.J. Lu <hongjiu.lu@intel.com>
103 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
105 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
107 2015-01-05 Nick Clifton <nickc@redhat.com>
110 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
111 is at least big enough for the header to be read.
112 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
113 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
114 (bfd_mach_o_read_command): Prevetn duplicate error messages about
115 unrecognized commands.
116 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
117 when indexing into the string table.
119 2015-01-01 Alan Modra <amodra@gmail.com>
121 Update year range in copyright notice of all files.
123 For older changes see ChangeLog-2014
125 Copyright (C) 2015 Free Software Foundation, Inc.
127 Copying and distribution of this file, with or without modification,
128 are permitted in any medium without royalty provided the copyright
129 notice and this notice are preserved.
135 version-control: never