Fix ARM fail of gap test
[external/binutils.git] / bfd / ChangeLog
1 2015-01-15  Alan Modra  <amodra@gmail.com>
2
3         PR 17842
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.
11
12 2015-01-14  Jiong Wang  <jiong.wang@arm.com>
13
14         * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
15         trying to defer them to runtime.
16
17 2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
18
19         * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
20         to check if a symbol should be bound symbolically.
21
22 2015-01-13  Jiong Wang  <jiong.wang@arm.com>
23
24         * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
25         for TLSLE_MOVW_TPREL_G2.
26
27 2015-01-13  Jiong Wang  <jiong.wang@arm.com>
28
29         PR ld/17415
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
33         bit mask.
34
35 2015-01-12  Terry Guo  <terry.guo@arm.com>
36
37         * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
38         function.
39         (_bfd_elf_gc_mark_extra_sections): Use it.
40
41 2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42
43         PR ld/17827
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.
47
48 2015-01-09  Nick Clifton  <nickc@redhat.com>
49
50         * tekhex.c (getvalue): Fix thinko in test for correct extraction
51         of value.
52         (getsym): Return false if there was not enough data to extract the
53         symbol.
54
55 2015-01-09  Anthony Green  <green@moxielogic.com>
56
57         * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
58
59 2015-01-08  Nick Clifton  <nickc@redhat.com>
60
61         * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
62         16-bit absolute BR instructions to 10-bit pc-relative JMP
63         instructions.
64
65 2015-01-08  Nick Clifton  <nickc@redhat.com>
66
67         PR binutils/17512
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
71         maxpagesize of 1.
72         * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
73         the Data Directory Size is too large.
74
75 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
76
77         PR binutils/17512
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.
80
81 2015-01-06  Nick Clifton  <nickc@redhat.com>
82
83         PR binutils/17512
84         * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
85         string table.
86
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
91         test.
92
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.
96         (getsym): Likewise.
97         (first_phase): Likewise.
98         (pass_over): Pass an end pointer to the invoked function.
99
100 2015-01-05  H.J. Lu  <hongjiu.lu@intel.com>
101
102         PR binutils/17512
103         * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
104         input.
105         * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
106
107 2015-01-05  Nick Clifton  <nickc@redhat.com>
108
109         PR binutils/17512
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.
118
119 2015-01-01  Alan Modra  <amodra@gmail.com>
120
121         Update year range in copyright notice of all files.
122
123 For older changes see ChangeLog-2014
124 \f
125 Copyright (C) 2015 Free Software Foundation, Inc.
126
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.
130
131 Local Variables:
132 mode: change-log
133 left-margin: 8
134 fill-column: 74
135 version-control: never
136 End: