Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6333bc0d
L
12015-01-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/17847
4 * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
5 about -fPIC if the symbol is undefined when building executable.
6
cd21f5da
NC
72015-01-15 Nick Clifton <nickc@redhat.com>
8
9 PR binutils/17512
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.
32
2d071cfc
NC
332015-01-15 Nick Clifton <nickc@redhat.com>
34
35 * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
36 relocs. Include PC-relative adjustment for R_MSP430X_ABS16
37 relaxation.
38
ca55926c
AM
392015-01-15 Alan Modra <amodra@gmail.com>
40
41 * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
42 any output section matching a linker created dynobj section.
43
8539e4e8
AM
442015-01-15 Alan Modra <amodra@gmail.com>
45
46 PR 17842
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.
54
52db4ec2
JW
552015-01-14 Jiong Wang <jiong.wang@arm.com>
56
57 * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
58 trying to defer them to runtime.
59
0941db69
JW
602015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
61
62 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
63 to check if a symbol should be bound symbolically.
64
0172429c
JW
652015-01-13 Jiong Wang <jiong.wang@arm.com>
66
67 * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
68 for TLSLE_MOVW_TPREL_G2.
69
bab91cce
JW
702015-01-13 Jiong Wang <jiong.wang@arm.com>
71
72 PR ld/17415
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
76 bit mask.
77
3c758495
TG
782015-01-12 Terry Guo <terry.guo@arm.com>
79
80 * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
81 function.
82 (_bfd_elf_gc_mark_extra_sections): Use it.
83
9d1d54d5
L
842015-01-11 H.J. Lu <hongjiu.lu@intel.com>
85
86 PR ld/17827
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.
90
c6e8e93a
NC
912015-01-09 Nick Clifton <nickc@redhat.com>
92
93 * tekhex.c (getvalue): Fix thinko in test for correct extraction
94 of value.
95 (getsym): Return false if there was not enough data to extract the
96 symbol.
97
400cf8cb
AG
982015-01-09 Anthony Green <green@moxielogic.com>
99
100 * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
101
23d4663e
NC
1022015-01-08 Nick Clifton <nickc@redhat.com>
103
104 * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
105 16-bit absolute BR instructions to 10-bit pc-relative JMP
106 instructions.
107
063bb025
NC
1082015-01-08 Nick Clifton <nickc@redhat.com>
109
110 PR binutils/17512
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
114 maxpagesize of 1.
115 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
116 the Data Directory Size is too large.
117
6f25f223
L
1182015-01-06 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR binutils/17512
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.
123
85880250
NC
1242015-01-06 Nick Clifton <nickc@redhat.com>
125
126 PR binutils/17512
e7287c7f
NC
127 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
128 string table.
129
ec93045b
NC
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
134 test.
135
85880250
NC
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.
139 (getsym): Likewise.
140 (first_phase): Likewise.
141 (pass_over): Pass an end pointer to the invoked function.
142
533d0af0
L
1432015-01-05 H.J. Lu <hongjiu.lu@intel.com>
144
145 PR binutils/17512
146 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
147 input.
148 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
149
896ca098
NC
1502015-01-05 Nick Clifton <nickc@redhat.com>
151
152 PR binutils/17512
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.
161
b90efa5b 1622015-01-01 Alan Modra <amodra@gmail.com>
ee3b52e9 163
b90efa5b 164 Update year range in copyright notice of all files.
ee3b52e9 165
b90efa5b 166For older changes see ChangeLog-2014
56882138 167\f
b90efa5b 168Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
169
170Copying and distribution of this file, with or without modification,
171are permitted in any medium without royalty provided the copyright
172notice and this notice are preserved.
173
56882138
AM
174Local Variables:
175mode: change-log
176left-margin: 8
177fill-column: 74
178version-control: never
179End:
This page took 0.753451 seconds and 4 git commands to generate.