x86-64: Restore PIC check for PCREL reloc against protected symbol
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/24151
4 * elf64-x86-64.c (elf_x86_64_need_pic): Check
5 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
6 (elf_x86_64_relocate_section): Move PIC check for PC-relative
7 relocations to ...
8 (elf_x86_64_check_relocs): Here.
9 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
10 to check if a symbol is defined in a non-shared object.
11 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
12
13 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
14
15 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
16 of 'labs' (and fix GCC warning).
17
18 2019-01-25 Nick Clifton <nickc@redhat.com>
19
20 * po/ru.po: Updated Russian translation.
21
22 2019-01-23 Nick Clifton <nickc@redhat.com>
23
24 * po/fr.po: Updated French translation.
25
26 2019-01-21 Nick Clifton <nickc@redhat.com>
27
28 * po/pt.po: Updated Portuguese translation.
29 * po/uk.po: Updated Ukranian translation.
30
31 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
32
33 PR 24108
34 * elf32-nds32.c (nds32_relocate_section): Add space between words
35 in error message.
36 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
37 error message.
38 (riscv_i_or_e_p): Likewise.
39 (riscv_merge_arch_attr_info): Likewise.
40
41 2019-01-19 Nick Clifton <nickc@redhat.com>
42
43 * version.m4: Reset to 2.32.51
44 * configure: Regenerate.
45 * po/bfd.pot: Regenerate.
46
47 2018-06-24 Nick Clifton <nickc@redhat.com>
48
49 2.32 branch created.
50
51 2019-01-16 Kito Cheng <kito@andestech.com>
52
53 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
54 for OBJ_ATTR_PROC.
55
56 2019-01-16 Kito Cheng <kito@andestech.com>
57 Nelson Chu <nelson@andestech.com>
58
59 * elfnn-riscv.c (in_subsets): New.
60 (out_subsets): Likewise.
61 (merged_subsets): Likewise.
62 (riscv_std_ext_p): Likewise.
63 (riscv_non_std_ext_p): Likewise.
64 (riscv_std_sv_ext_p): Likewise.
65 (riscv_non_std_sv_ext_p): Likewise.
66 (riscv_version_mismatch): Likewise.
67 (riscv_i_or_e_p): Likewise.
68 (riscv_merge_std_ext): Likewise.
69 (riscv_merge_non_std_and_sv_ext): Likewise.
70 (riscv_merge_arch_attr_info): Likewise.
71 (riscv_merge_attributes): Likewise.
72 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
73
74 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
75 (elf_backend_obj_attrs_vendor): Define.
76 (elf_backend_obj_attrs_section_type): Likewise.
77 (elf_backend_obj_attrs_section): Likewise.
78 (elf_backend_obj_attrs_arg_type): Define as
79 riscv_elf_obj_attrs_arg_type.
80 * elfxx-riscv.c (riscv_estimate_digit): New.
81 (riscv_estimate_arch_strlen1): Likewise.
82 (riscv_estimate_arch_strlen): Likewise.
83 (riscv_arch_str1): Likewise.
84 (riscv_arch_str): Likewise.
85 * elfxx-riscv.h (riscv_arch_str): Declare.
86
87 2019-01-14 John Darrington <john@darrington.wattle.id.au>
88
89 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
90 * libbfd.h: regen.
91 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
92 source field. (md_apply_fix): Apply final fix
93 to BFD_RELOC_S12Z_OPR.
94 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
95
96 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
97
98 PR 20113
99 * elf32-s390.c (allocate_dynrelocs): Update comment.
100
101 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
102
103 * warning.m4: Adjust egrep pattern for non-GNU compilers.
104 * configure: Regenerate.
105
106 2019-01-08 Alan Modra <amodra@gmail.com>
107
108 PR 23699
109 PR 24065
110 * ihex.c (ihex_write_object_contents): Properly check 32-bit
111 address range.
112
113 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
114
115 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
116 * bfd/bfd-in2.h: Regenerate.
117 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
118 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
119
120 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
121
122 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
123 default target, little endian target is more suitable.
124
125 2019-01-04 Alan Modra <amodra@gmail.com>
126
127 PR 24061
128 PR 21786
129 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
130 adjust all callers.
131 (EQ_VALUE_IN_FIELD): Likewise.
132 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
133
134 2019-01-01 Alan Modra <amodra@gmail.com>
135
136 Update year range in copyright notice of all files.
137
138 For older changes see ChangeLog-2018
139 \f
140 Copyright (C) 2019 Free Software Foundation, Inc.
141
142 Copying and distribution of this file, with or without modification,
143 are permitted in any medium without royalty provided the copyright
144 notice and this notice are preserved.
145
146 Local Variables:
147 mode: change-log
148 left-margin: 8
149 fill-column: 74
150 version-control: never
151 End:
This page took 0.066987 seconds and 5 git commands to generate.