Issue a linker error if TLS sections are not adjacent
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/16498
4 * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error
5 if TLS sections are not adjacent.
6
7 2014-01-22 Alan Modra <amodra@gmail.com>
8
9 * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed.
10
11 2014-01-22 Alan Modra <amodra@gmail.com>
12
13 * elf64-ppc.c (STK_LINKER): Comment typo fix.
14
15 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
16
17 PR ld/16467
18 * elflink.c (_bfd_elf_merge_symbol): When types of the existing
19 regular default symbol definition and the versioned dynamic
20 symbol definition mismatch, skip the default symbol definition
21 if one of them is IFUNC.
22
23 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/2404
26 * elflink.c (_bfd_elf_merge_symbol): Don't check info->shared,
27 info->export_dynamic nor h->ref_dynamic for type mismatch when
28 adding the default version.
29
30 2014-01-16 Alan Modra <amodra@gmail.com>
31
32 * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
33 mips_elf_traverse_got_arg* rather than mips_got_info*.
34 Adjust caller. Alloc on output_bfd rather than symbol section
35 owner.
36
37 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
38
39 * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
40 change.
41 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
42
43 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR ld/16428
46 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs
47 against __ehdr_start.
48 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
49
50 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
51
52 * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
53 change.
54 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
55
56 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR ld/16428
59 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
60 count if there are any non pc-relative relocs.
61 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
62
63 2014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org>
64 Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
65
66 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
67 offset while calculating relocation address.
68 (elfNN_aarch64_create_small_pltn_entry): Likewise.
69 (elfNN_aarch64_init_small_plt0_entry): Likewise.
70
71 2014-01-13 Ma Jiang <ma.jiang@zte.com.cn>
72
73 PR ld/16202
74 * elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for
75 R_ARM_ABS8 and R_ARM_ABS16.
76
77 2014-01-13 Alan Modra <amodra@gmail.com>
78
79 * elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc,
80 error when shared and force a plt call otherwise.
81 (ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless
82 plt_type == PLT_NEW.
83 (ppc_elf_relocate_section): Add missing test to resolve ifuncs to
84 the appropriate call stub.
85
86 2014-01-10 Alan Modra <amodra@gmail.com>
87
88 PR ld/14207
89 PR ld/16322
90 PR binutils/16323
91 * elf.c (assign_file_positions_for_load_sections): Revert last change.
92 (assign_file_positions_for_non_load_sections): When setting up
93 PT_GNU_RELRO header, don't require a corresponding PT_LOAD
94 header that completely covers the relro region.
95
96 2014-01-09 Tristan Gingold <gingold@adacore.com>
97
98 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump
99 table macros and add macros to initializa the structure.
100
101 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
102
103 PR ld/14207
104 PR ld/16322
105 PR binutils/16323
106 * elf.c (_bfd_elf_map_sections_to_segments): Don't check section
107 size for PT_GNU_RELRO segment.
108 (assign_file_positions_for_load_sections): If PT_LOAD segment
109 doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
110
111 2014-01-07 Tom Tromey <tromey@redhat.com>
112
113 * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility
114 wrappers.
115
116 2014-01-03 Nick Clifton <nickc@redhat.com>
117
118 PR binutils/16199
119 * elf.c (vma_page_aligned_bias): Handle a maxpagesize value of
120 zero.
121
122 2014-01-02 Yuanhui Zhang <asmwarrior@gmail.com>
123
124 PR binutils/14289
125 * pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80.
126
127 2014-01-02 Nick Clifton <nickc@redhat.com>
128
129 PR binutils/11983
130 * archive.c (_bfd_get_elt_at_filepos): Store a copy of the
131 filename in the bfd's filename field.
132 * elfcode.h (bfd_from_remote_memory): Likewise.
133 * ieee.c (ieee_object_p): Likewise.
134 * mach-o.c (bfd_mach_o_fat_member_init): Likewise.
135 * oasys.c (oasys_openr_next_archived_file): Likewise.
136 * vms-lib.c (_bfd_vms_lib_get_module): Likewise.
137 * opncls.c (bfd_fopen): Likewise.
138 (bfd_openstreamr): Likewise.
139 (bfd_openr_iovec): Likewise.
140 (bfd_openw): Likewise.
141 (bfd_create): Likewise.
142 (_bfd_delete_bfd): Free filename.
143
144 For older changes see ChangeLog-2013
145 \f
146 Copyright (C) 2014 Free Software Foundation, Inc.
147
148 Copying and distribution of this file, with or without modification,
149 are permitted in any medium without royalty provided the copyright
150 notice and this notice are preserved.
151
152 Local Variables:
153 mode: change-log
154 left-margin: 8
155 fill-column: 74
156 version-control: never
157 End:
This page took 0.047734 seconds and 4 git commands to generate.