]>
Commit | Line | Data |
---|---|---|
d4e57b87 L |
1 | 2021-01-06 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect. | |
4 | (bfinfdpic_check_relocs): Likewise. | |
5 | ||
599c86c4 AM |
6 | 2021-01-06 Alan Modra <amodra@gmail.com> |
7 | ||
8 | * elf32-score.c (s3_bfd_score_info_to_howto): Report an error | |
9 | on unknown r_type. | |
10 | * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. | |
11 | ||
3677b729 AM |
12 | 2021-01-06 Alan Modra <amodra@gmail.com> |
13 | ||
14 | * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec. | |
15 | (sparc64-*-solaris2*): Add sparc_elf64_vec and | |
16 | sparc_elf32_vec. | |
17 | ||
fbc09e7a MC |
18 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
19 | ||
20 | * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and | |
21 | riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec. | |
22 | * configure.ac: Handle riscv_elf[32|64]_be_vec. | |
23 | * configure: Regenerate. | |
24 | * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for | |
25 | riscv_is_insn_reloc. | |
26 | (riscv_get_insn): RISC-V instructions are always little endian, but | |
27 | bfd_get may be used for big-endian, so add new riscv_get_insn to handle | |
28 | the insturctions. | |
29 | (riscv_put_insn): Likewsie. | |
30 | (riscv_is_insn_reloc): Check if we are relocaing an instruction. | |
31 | (perform_relocation): Call riscv_is_insn_reloc to decide if we should | |
32 | use riscv_[get|put]_insn or bfd_[get|put]. | |
33 | (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32 | |
34 | or bfd_[get|put]l16 for code. | |
35 | (riscv_elf_relocate_section): Likewise. | |
36 | (riscv_elf_finish_dynamic_symbol): Likewise. | |
37 | (riscv_elf_finish_dynamic_sections): Likewise. | |
38 | (_bfd_riscv_relax_call): Likewise. | |
39 | (_bfd_riscv_relax_lui): Likewise. | |
40 | (_bfd_riscv_relax_align): Likewise. | |
41 | (_bfd_riscv_relax_pc): Likewise. | |
42 | (riscv_elf_object_p): Handled for big endian. | |
43 | (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined. | |
44 | * targets.c: Add riscv_elf[32|64]_be_vec. | |
45 | (_bfd_target_vector): Likewise. | |
46 | ||
c8bad65e AM |
47 | 2021-01-05 Alan Modra <amodra@gmail.com> |
48 | ||
49 | * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export | |
50 | for relocatable executable. | |
51 | ||
de6a7ee4 AM |
52 | 2021-01-05 Alan Modra <amodra@gmail.com> |
53 | ||
54 | * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check. | |
55 | ||
18b98722 NC |
56 | 2021-01-05 Nelson Chu <nelson.chu@sifive.com> |
57 | ||
58 | * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde, | |
59 | make sure gp symbol is output as a dynamic symbol. | |
60 | ||
cd6d537c L |
61 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
62 | ||
63 | PR ld/26256 | |
64 | * elflink.c (compare_link_order): Place unordered sections before | |
65 | ordered sections. | |
66 | (elf_fixup_link_order): Add a link info argument. Allow mixed | |
67 | ordered and unordered input sections for non-relocatable link. | |
68 | Sort the consecutive bfd_indirect_link_order sections with the | |
69 | same pattern. Change the offsets of the bfd_indirect_link_order | |
70 | sections only. | |
71 | (bfd_elf_final_link): Pass info to elf_fixup_link_order. | |
72 | * section.c (bfd_section): Add pattern. | |
73 | (BFD_FAKE_SECTION): Initialize pattern to NULL. | |
74 | * bfd-in2.h: Regenerated. | |
75 | ||
dbb078f6 AF |
76 | 2021-01-04 Alexander Fedotov <alfedotov@gmail.com> |
77 | ||
78 | * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value | |
79 | of private flags with 0x. | |
80 | * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise. | |
81 | ||
5b4293ba AM |
82 | 2021-01-04 Alan Modra <amodra@gmail.com> |
83 | ||
84 | PR 26822 | |
85 | * elflink.c (elf_link_input_bfd): Use the file base name in | |
86 | linker generated STT_FILE symbols. | |
87 | ||
4c0e540e NC |
88 | 2021-01-04 Nelson Chu <nelson.chu@sifive.com> |
89 | ||
90 | * elfxx-riscv.c (riscv_compare_subsets): Removed static. | |
91 | * elfxx-riscv.h: Add declaration. | |
92 | * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use | |
93 | riscv_compare_subsets to check the orders. | |
94 | (riscv_skip_prefix): Removed. | |
95 | (riscv_prefix_cmp): Removed. | |
96 | ||
e9cf3691 AM |
97 | 2021-01-04 Alan Modra <amodra@gmail.com> |
98 | ||
99 | PR 26741 | |
100 | * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after | |
101 | calculating subset version length. | |
102 | ||
f9a6a8f0 AM |
103 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
104 | ||
105 | * xcofflink.c: Correct spelling in comments. | |
106 | ||
250d07de AM |
107 | 2021-01-01 Alan Modra <amodra@gmail.com> |
108 | ||
109 | Update year range in copyright notice of all files. | |
110 | ||
c2795844 | 111 | For older changes see ChangeLog-2020 |
3499769a | 112 | \f |
c2795844 | 113 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
114 | |
115 | Copying and distribution of this file, with or without modification, | |
116 | are permitted in any medium without royalty provided the copyright | |
117 | notice and this notice are preserved. | |
118 | ||
119 | Local Variables: | |
120 | mode: change-log | |
121 | left-margin: 8 | |
122 | fill-column: 74 | |
123 | version-control: never | |
124 | End: |