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