1 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
4 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
6 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
7 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
9 (set_symtab): Don't generate unused section symbols.
10 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
11 on the section symbol.
12 * config/obj-elf.c (elf_adjust_symtab): Call
13 symbol_mark_used_in_reloc on the group signature symbol.
14 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
16 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
17 is_elf_unused_section_symbols.
18 * testsuite/gas/elf/section2.e: Updated.
19 * testsuite/gas/elf/section2.e-unused: New file.
20 * testsuite/gas/elf/symver.d: Remove unused section symbols.
21 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
22 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
23 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
24 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
25 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
26 * testsuite/gas/i386/size-1.d: Likewise.
27 * testsuite/gas/i386/size-3.d: Likewise.
28 * testsuite/gas/i386/svr4.d: Likewise.
29 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
30 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
31 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
32 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
34 2021-01-07 Philipp Tomsich <prt@gnu.org>
36 * config/tc-riscv.c (riscv_multi_subset_supports): Added
37 INSN_CLASS_ZIHINTPAUSE.
38 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
39 the pause hint instruction.
40 * testsuite/gas/riscv/pause.s: Likewise.
42 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
43 Jim Wilson <jimw@sifive.com>
44 Andrew Waterman <andrew@sifive.com>
45 Maxim Blinov <maxim.blinov@embecosm.com>
46 Kito Cheng <kito.cheng@sifive.com>
47 Nelson Chu <nelson.chu@sifive.com>
49 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
50 (riscv_get_default_ext_version): Do not check the default_isa_spec when
51 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
52 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
53 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
54 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
56 2021-01-06 Alan Modra <amodra@gmail.com>
58 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
60 2021-01-06 Alan Modra <amodra@gmail.com>
62 * testsuite/gas/macros/app1.d: xfail tic30.
63 * testsuite/gas/macros/app2.d: Likewise.
64 * testsuite/gas/macros/app3.d: Likewise.
65 * testsuite/gas/macros/app4.d: Likewise.
67 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
69 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
70 * doc/c-riscv.texi: Likewise.
72 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
74 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
76 * testsuite/gas/riscv/li64.d: Likewise.
77 * testsuite/gas/riscv/lla32.d: Likewise.
78 * testsuite/gas/riscv/lla64.d: Likewise.
79 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
80 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
81 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
82 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
83 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
84 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
85 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
87 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
89 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
91 (install_insn): Always write instructions as little endian.
92 (riscv_make_nops): Likewise.
93 (md_convert_frag_branch): Likewise.
94 (md_number_to_chars): Write data in target endianness.
95 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
96 (md_parse_option): Handle the endian options.
97 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
99 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
101 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
104 * config/obj-elf.c (obj_elf_change_section): Also filter out
107 2021-01-04 Alan Modra <amodra@gmail.com>
110 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
111 message and register symbol error message.
113 2021-01-04 Alan Modra <amodra@gmail.com>
116 * read.c (s_align): Use a large enough type for "align" to hold
117 the result of get_absolute_expression.
119 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
121 * config/tc-i386.c: Correct comment spelling.
122 * config/tc-riscv.c: Likewise.
123 * config/tc-s390.c: Correct comment grammar.
124 * doc/c-i386.texi: Correct spelling.
125 * doc/c-s390.texi: Correct grammar.
127 2021-01-01 Alan Modra <amodra@gmail.com>
129 Update year range in copyright notice of all files.
131 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
133 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
135 For older changes see ChangeLog-2020
137 Copyright (C) 2021 Free Software Foundation, Inc.
139 Copying and distribution of this file, with or without modification,
140 are permitted in any medium without royalty provided the copyright
141 notice and this notice are preserved.
147 version-control: never