Fixes a bug in the relaxation of R_MSP430X_ABS16 to R_MSP430_10_PCREL.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
2d071cfc
NC
12015-01-15 Nick Clifton <nickc@redhat.com>
2
3 * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
4 relocs. Include PC-relative adjustment for R_MSP430X_ABS16
5 relaxation.
6
ca55926c
AM
72015-01-15 Alan Modra <amodra@gmail.com>
8
9 * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
10 any output section matching a linker created dynobj section.
11
8539e4e8
AM
122015-01-15 Alan Modra <amodra@gmail.com>
13
14 PR 17842
15 * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
16 (bfd_elf_final_link): Always create a symbol table when emit_relocs.
17 Don't assign symtab file position unless symbols will be output.
18 Merge blocks with condition in common. Don't call
19 elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
20 unless other symbols are output. Move assignment of symtab_shndx
21 file position. Localize variable.
22
52db4ec2
JW
232015-01-14 Jiong Wang <jiong.wang@arm.com>
24
25 * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
26 trying to defer them to runtime.
27
0941db69
JW
282015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
29
30 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
31 to check if a symbol should be bound symbolically.
32
0172429c
JW
332015-01-13 Jiong Wang <jiong.wang@arm.com>
34
35 * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
36 for TLSLE_MOVW_TPREL_G2.
37
bab91cce
JW
382015-01-13 Jiong Wang <jiong.wang@arm.com>
39
40 PR ld/17415
41 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
42 R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
43 * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
44 bit mask.
45
3c758495
TG
462015-01-12 Terry Guo <terry.guo@arm.com>
47
48 * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
49 function.
50 (_bfd_elf_gc_mark_extra_sections): Use it.
51
9d1d54d5
L
522015-01-11 H.J. Lu <hongjiu.lu@intel.com>
53
54 PR ld/17827
55 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
56 only discard space for pc-relative relocs symbols which turn
57 out to need copy relocs.
58
c6e8e93a
NC
592015-01-09 Nick Clifton <nickc@redhat.com>
60
61 * tekhex.c (getvalue): Fix thinko in test for correct extraction
62 of value.
63 (getsym): Return false if there was not enough data to extract the
64 symbol.
65
400cf8cb
AG
662015-01-09 Anthony Green <green@moxielogic.com>
67
68 * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
69
23d4663e
NC
702015-01-08 Nick Clifton <nickc@redhat.com>
71
72 * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
73 16-bit absolute BR instructions to 10-bit pc-relative JMP
74 instructions.
75
063bb025
NC
762015-01-08 Nick Clifton <nickc@redhat.com>
77
78 PR binutils/17512
79 * coffcode.h (coff_slurp_symbol_table): Return false if we failed
80 to load the line table.
81 * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
82 maxpagesize of 1.
83 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
84 the Data Directory Size is too large.
85
6f25f223
L
862015-01-06 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR binutils/17512
89 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
90 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
91
85880250
NC
922015-01-06 Nick Clifton <nickc@redhat.com>
93
94 PR binutils/17512
e7287c7f
NC
95 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
96 string table.
97
ec93045b
NC
98 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
99 (bfd_perform_relocation): Include the size of the reloc in the
100 test for an out of range relocation.
101 (bfd_generic_get_relocated_section_contents): Remove reloc range
102 test.
103
85880250
NC
104 * coff-i860.c (CALC_ADDEND): Always set an addend value.
105 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
106 avoid reading off the end of the buffer.
107 (getsym): Likewise.
108 (first_phase): Likewise.
109 (pass_over): Pass an end pointer to the invoked function.
110
533d0af0
L
1112015-01-05 H.J. Lu <hongjiu.lu@intel.com>
112
113 PR binutils/17512
114 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
115 input.
116 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
117
896ca098
NC
1182015-01-05 Nick Clifton <nickc@redhat.com>
119
120 PR binutils/17512
121 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
122 is at least big enough for the header to be read.
123 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
124 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
125 (bfd_mach_o_read_command): Prevetn duplicate error messages about
126 unrecognized commands.
127 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
128 when indexing into the string table.
129
b90efa5b 1302015-01-01 Alan Modra <amodra@gmail.com>
ee3b52e9 131
b90efa5b 132 Update year range in copyright notice of all files.
ee3b52e9 133
b90efa5b 134For older changes see ChangeLog-2014
56882138 135\f
b90efa5b 136Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
137
138Copying and distribution of this file, with or without modification,
139are permitted in any medium without royalty provided the copyright
140notice and this notice are preserved.
141
56882138
AM
142Local Variables:
143mode: change-log
144left-margin: 8
145fill-column: 74
146version-control: never
147End:
This page took 1.085434 seconds and 4 git commands to generate.