This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch users/riscv/binutils-integration-branch in repository binutils-gdb.
discards 9c059f43fe0 RISC-V/rvv: Added zve* and zvl* extensions, and clarify the [...] discards 00a8f6437d4 RISC-V/rvv: Separate zvamo from v, and removed the zvlsseg [...] discards fc93e6c9a74 RISC-V/rvv: Update constraints for widening and narrowing i [...] discards 96875351a4d RISC-V/rvv: Added assembly pseudo and changed assembler mnemonics. discards 5639be3e596 RISC-V/t-head: Add CSRs and opcodes of the T-HEAD XUANTIE CPUs discards e35191a4300 RISC-V/extended: Improve the gas/testsuite/gas/riscv/extend [...] discards 3ff5369b3c9 RISC-V: Support svinval extensions. discards 720c16a0a76 RISC-V/zfh: Added big endian testcase for .float16 directive. discards 633370d9669 RISC-V/zfh: Support .float16 directive for assembler. discards 452e9a38516 RISC-V/zfh: Add half-precision floating-point v0.1 instructions. discards 38883605575 RISC-V/rvv: Add rvv v0.10 instructions. discards d35a9b41ac5 RISC-V/extended: Add assembler and dis-assembler hooks for [...] adds cb6e6bb89d5 gdb/python: fix memory leak in python inferior code adds 25b0a5714c9 [gdb/testsuite] Fix FAIL in gdb.mi/mi-nsmoribund.exp adds a519e8ffe2b Add lval_funcs::is_optimized_out adds 3e44c3049fc Allow lazy 'zero' value adds acbf4a58ef3 Remove 'varsize-limit' adds 1461d3712b9 gdb: Remove deprecated assertion in setting::get adds 58d82c2c598 [gdb/testsuite] Add Term::dump_box in lib/tuiterm.exp adds 1457d766df2 [gdb/testsuite] Make tui testing less verbose adds 79fa3c401c6 Automatic date update in version.in adds 55e3926e799 PR28401, invalid section name lookup adds 0a6041ce938 PR28403, null pointer dereference in disassemble_bytes adds 1808483c2f3 PR28402, fail to allocate line number array adds 1992e26ec44 PR28420, ecoff fuzzing failures adds cf2ad3e6628 [gdb/testsuite] Fix FAIL in gdb.tui/corefile-run.exp adds 24616c19955 gdb/doc: improve 'show print elements' description adds 82f2f39d815 Automatic date update in version.in adds cf4505a7ec0 [gdb/testsuite] Refactor regexp in gdb.base/annota1.exp adds c0ae8ccdba5 [gdb/testsuite] Fix FAIL in gdb.base/annota1.exp adds 89e62f74546 Change ridiculous section size error adds 6d661cdc5be PR28422, build_id use-after-free adds 66468343379 PR28423, use-after-free in objdump adds cda0561f9ec RISC-V: Split Zb[abc] into commented sections adds 586dcfc81ee RISC-V: Update extension version for Zb[abc] to 1.0.0 adds 9455c919575 RISC-V: Add support for Zbs instructions adds 8baf3d07567 RISC-V: Support aliases for Zbs instructions adds cd3f655cc7a gdb: add accessors for field (and call site) location adds 22589c49962 [gdb/testsuite] Fix gdb.guile/scm-type.exp with gcc 4.8 adds d7a6aa74c86 [gdb/testsuite] Fix gdb.threads/check-libthread-db.exp with [...] adds fc6e66cd181 Automatic date update in version.in adds b80e6295f6e [gdb/testsuite] Add nopie in two test-cases adds 8320b042306 [gdb/testsuite] Fix gdb.base/bt-on-error-and-warning.exp wi [...] adds 2550e478ad1 [gdb/testsuite] Fix gdb.mi/gdb2549.exp with check-read1 adds 048cb8b4666 [gdb/testsuite] Fix gdb.base/info_sources_2.exp with check-read1 adds b886031bd2b [gdb/testsuite] Fix gdb.base/info-types-c++.exp with stressed cpu adds 851a4f24d78 Automatic date update in version.in adds 0161bdd47ca PR28415, invalid read in xtensa_read_table_entries adds f9edf608302 [gdb/testsuite] Fix fortran module tests with stressed cpu adds fa9ce2c143c [gdb/testsuite] Add check-readmore adds 84a6adfd4c7 [gdb] Make execute_command_to_string return string on throw adds 902ad3d7039 Automatic date update in version.in adds 88b32237043 Automatic date update in version.in adds b6fca8a3d50 bfd: Remove use of void pointer arithmetic adds 4f69f0a21ef [gdb/testsuite] Add proc require in lib/gdb.exp adds 47265957ad9 [gdb/testsuite] Fix gdb.dwarf2/gdb-add-index-symlink.exp adds dbfc69bef9d [gdb/testsuite] Handle readnow in ensure_gdb_index adds 19abf6c542e [gdb/testsuite] Use require for ensure_gdb_index adds c2c8a427888 [gdb/testsuite] Fix double debug info in gdb.dwarf2/dw2-ref [...] adds ba7c18a4845 s12z/disassembler: call memory_error_func when appropriate adds 3a480f1e35b z80/disassembler: call memory_error_func when appropriate adds c8ed8c8ac38 [gdb/testsuite] Fix FAIL in gdb.mi/mi-var-child-f.exp adds 4d224f4a589 [ARM] Refactor some constants adds dc22c61a160 [ARM] Small refactoring of arm gdbarch initialization adds ecbf5d4f9b7 [ARM] Refactor pseudo register numbering adds ae66a8f19ef [ARM] Add support for M-profile MVE extension adds 255a531196f Automatic date update in version.in adds 777b054cf93 Automatic date update in version.in adds 7110a5d8e85 [gdb/testsuite] Remove quit in gdb.arch/i386-mpx.exp adds 746723ba6c1 [gdb/testsuite] Fix gdb.base/batch-exit-status.exp with nat [...] adds 36170420e32 [gdb/testsuite] Fix test name in gdb.python/python.exp adds 2786ef85faf [gdb/testsuite] Require use_gdb_stub == 0 where appropriate adds 38b03d23c7c [gdb/testsuite] Fix gdb.fortran/call-no-debug.exp with nati [...] adds 76b43c9b5c2 gdb: improve error reporting from the disassembler adds 1284c2264cc PPC fix for stfiwx instruction (and additional stores with [...] adds 9cd609f8641 [gdb/exp] Improve <error reading variable> message adds cdb60260645 Automatic date update in version.in adds cbb35b4ac6d Re: s12z/disassembler: call memory_error_func when appropriate adds a19da04b3c3 [GOLD] PowerPC64: Don't pretend to support multi-toc adds f19c3684a6d [GOLD] Two GOT sections for PowerPC64 adds a1251fdcb58 [GOLD] Re: PowerPC64: Don't pretend to support multi-toc adds 047ab79212f [gdb/testsuite] Add .debug_loc support in dwarf assembler adds 38c90362460 Powerpc: Add support for openat and fstatat syscalls adds f9ebf60b6ff Automatic date update in version.in adds 8457023a80d Automatic date update in version.in adds 0a9ea024e7c ld: Adjust pr28158.rd for glibc 2.34 adds 31629daee5f Automatic date update in version.in adds e7f024765a4 PR28459, readelf issues bogus warning adds 19b96124487 Automatic date update in version.in adds b3a01ce2155 CTF: incorrect underlying type setting for enumeration types adds d4ef5e75c7e Automatic date update in version.in adds cf487499e0d Fix a potential illegal memory access when testing for a sp [...] adds 4a2f674a688 Fix PR gdb/17917 Lookup build-id in remote binaries adds d7c68312bde Always use std::function for self-tests adds 05fb05a9472 Fix bug in dynamic type resolution adds 5dfe4bfcb96 Fix format_pieces selftest on Windows adds 775d36a916c Fix Rust lex selftest when using libiconv adds 5a8edb756a5 Check index in type::field adds c82f680a943 [gdb/testsuite] Reimplement gdb.gdb/python-interrupts.exp a [...] adds e43321cab20 Automatic date update in version.in adds 6d81986879b Make c-exp.y work with Bison 3.8+ adds b00577cd7bb Use unique_xmalloc_ptr in solib_catchpoint adds 5c1146d2dec Use unique_xmalloc_ptr in exec_catchpoint adds a4c50be3d68 Use unique_xmalloc_ptr in watchpoint adds 23d6ee64057 Use unique_xmalloc_ptr in bp_location adds 6f781ee3006 Use unique_xmalloc_ptr in breakpoint adds 570bc7936f5 Use std::string in print_one_catch_syscall adds c7fdac09d91 Re: PR27625, powerpc64 gold __tls_get_addr calls adds 068a039b8bd PR28417, std::string no longer allows accepting nullptr_t adds f4efb229b72 Automatic date update in version.in adds 84714f86b37 Avoid -Waddress warnings in readelf adds ced10cb78d0 -Waddress warning in ldelf.c adds 4d1795ac4dd Fix latent Ada bug when accessing field offsets adds e3e4224e799 Fix test step-and-next-inline.cc adds cdeebaab926 [gdb/tui] Fix breakpoint display functionality adds 21a27fb021a Fixes for gdb.mi/mi-break.exp adds f81ce492b2a Refactor code slightly in nat/aarch64-linux-hw-point.c (aar [...] adds add3db91823 Fix ARMv8.4 for hw watchpoint and breakpoint adds d2f325df0b5 gdbserver: make thread_info non-POD adds c360a4732bd gdbserver: initialize the members of lwp_info in-class adds 183be222907 gdb, gdbserver: make target_waitstatus safe adds 46276d3ca2e Automatic date update in version.in adds 66cc044255f gdb: fix remote-sim.c build adds 9abcdc10b21 RISC-V: Don't separate pcgp relaxation to another relax pass. adds c628f812eba RISC-V: Added ld testcase for pcgp relaxation. adds 431be556b0b gdb: make disassembler fprintf callback a static member function adds 8b87fbe6bb5 gdb/python: new gdb.architecture_names function adds 625f7b1cdc7 gdb/python: move gdb.Membuf support into a new file adds d5684c961f5 [gdb/testsuite] Fix FAILs in gdb.mi/mi-breakpoint-changed.exp adds 5d71c60df5e [gdb/testsuite] Fix gdb.threads/linux-dp.exp adds 63b868ddf87 Remove unused variables from gdbserver's Makefile adds aab00c2dff7 Fix 'uninstall' target adds c8480b58e19 x86: Add -muse-unaligned-vector-move to assembler adds eaf4a97352b Automatic date update in version.in adds e515d93264b Automatic date update in version.in adds e214f8db56f LoongArch bfd support adds 6cc76c40a99 LoongArch opcodes support adds e9a0721f827 LoongArch binutils support adds 4462d7c4402 LoongArch gas support adds 560b3fe2082 LoongArch ld support adds 3f9661f12a4 asan: aout: heap buffer overflow adds e0281249425 asan: arm-darwin: buffer overflow adds 1ed0032b400 asan: c4x, c54x coff_canonicalize_reloc buffer overflow adds 30459fe4efc Automatic date update in version.in adds b920bc37223 asan: evax_bfd_print_image buffer overflow adds 1e5a28be0fa ubsan: _bfd_xcoff64_swap_aux_in left shift of negative value adds bd84a8e2e04 bfd_nonfatal_message, localise va_start adds 5513527b59e objdump doesn't accept -L option adds 80b56fad5c9 binutils: make objdump/readelf --ctf-parent actually useful adds 10909ea8194 binutils, ld: make objdump --ctf's parameter optional adds a0cc569d599 libctf: dump: do not stop dumping types on error adds eb5323fdf88 libctf, ld: handle nonrepresentable types better adds 9de46719da0 [gdb/testsuite] Fix duplicate in gdb.mi/mi-var-cp.exp adds b3a9fe6f51f x86: Also handle stores for -muse-unaligned-vector-move adds 61d7f128e6e gdbserver: make target_pid_to_str return std::string adds d9f82e93139 gdbsupport: add assertions in array_view adds 50888e42dcd gdb: change functions returning value contents to use gdb:: [...] adds 3976e96a02b Automatic date update in version.in adds a4b0231e179 [gdb/doc] Fix print inferior-events default adds f85dcfc3af9 gold: Place .note.gnu.property section before other note sections adds 28c26ce5fdd Automatic date update in version.in new 5a2f56d1ae1 RISC-V/extended: Add assembler and dis-assembler hooks for [...] new 144cceb058e RISC-V/rvv: Add rvv v0.10 instructions. new b0643c17a2f RISC-V/zfh: Add half-precision floating-point v0.1 instructions. new 41675fa0dfb RISC-V/zfh: Support .float16 directive for assembler. new ffbe01609fb RISC-V/zfh: Added big endian testcase for .float16 directive. new 867d7a79f4e RISC-V: Support svinval extensions. new 65ca6d1e099 RISC-V/extended: Improve the gas/testsuite/gas/riscv/extend [...] new 6099b2e4abc RISC-V/t-head: Add CSRs and opcodes of the T-HEAD XUANTIE CPUs new 626c2b0d368 RISC-V/rvv: Added assembly pseudo and changed assembler mnemonics. new d035495d996 RISC-V/rvv: Update constraints for widening and narrowing i [...] new 3c0675ea93e RISC-V/rvv: Separate zvamo from v, and removed the zvlsseg [...] new 77dd5c805f4 RISC-V/rvv: Added zve* and zvl* extensions, and clarify the [...] new 19b58b26585 RISC-V/SiFive: Added SiFive custom cache control instructions.
This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this:
* -- * -- B -- O -- O -- O (9c059f43fe0) \ N -- N -- N refs/heads/users/riscv/binutils-integration-branch (19b5 [...]
You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B.
Any revisions marked "omits" are not gone; other references still refer to them. Any revisions marked "discards" are gone forever.
The 13 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: bfd/ChangeLog | 6 + bfd/Makefile.am | 17 +- bfd/Makefile.in | 21 +- bfd/aout-ns32k.c | 8 +- bfd/aoutx.h | 16 +- bfd/archive.c | 3 +- bfd/archures.c | 5 + bfd/bfd-in.h | 4 +- bfd/bfd-in2.h | 52 +- bfd/coff-mips.c | 9 +- bfd/coff-rs6000.c | 49 +- bfd/coff-tic54x.c | 2 +- bfd/coff64-rs6000.c | 31 +- bfd/coffcode.h | 57 +- bfd/coffgen.c | 2 +- bfd/coffswap.h | 27 + bfd/compress.c | 2 +- bfd/config.bfd | 15 + bfd/config.in | 3 + bfd/configure | 12 + bfd/configure.ac | 8 + bfd/cpu-loongarch.c | 61 + bfd/cpu-riscv.c | 2 + bfd/cpu-riscv.h | 5 + bfd/ecoff.c | 36 +- bfd/elf-bfd.h | 9 + bfd/elf.c | 109 + bfd/elf32-xtensa.c | 7 + bfd/elfnn-loongarch.c | 3265 ++++++++++++++++++++ bfd/elfnn-riscv.c | 354 +-- bfd/elfxx-loongarch.c | 661 ++++ bfd/elfxx-loongarch.h | 31 + bfd/elfxx-riscv.c | 35 +- bfd/elfxx-riscv.h | 5 - bfd/format.c | 1 + bfd/i386lynx.c | 62 +- bfd/libbfd.h | 43 + bfd/linker.c | 1 + bfd/mach-o-arm.c | 39 +- bfd/pdp11.c | 8 +- bfd/peicode.h | 2 +- bfd/po/BLD-POTFILES.in | 2 + bfd/po/SRC-POTFILES.in | 3 + bfd/reloc.c | 89 + bfd/targets.c | 8 + bfd/version.h | 2 +- bfd/vms-alpha.c | 93 +- binutils/ChangeLog | 29 + binutils/NEWS | 2 + binutils/bucomm.c | 6 +- binutils/doc/ctf.options.texi | 19 +- binutils/dwarf.c | 1 - binutils/nm.c | 3 +- binutils/objcopy.c | 3 +- binutils/objdump.c | 118 +- binutils/readelf.c | 332 +- binutils/testsuite/binutils-all/objdump.exp | 1 + gas/Makefile.am | 17 +- gas/Makefile.in | 28 +- gas/NEWS | 5 + gas/config/loongarch-lex-wrapper.c | 20 + gas/config/loongarch-lex.h | 34 + gas/config/loongarch-lex.l | 61 + gas/config/loongarch-parse.y | 441 +++ gas/config/tc-i386.c | 41 + gas/config/tc-loongarch.c | 1382 +++++++++ gas/config/tc-loongarch.h | 91 + gas/config/tc-riscv.c | 21 +- gas/configure | 17 + gas/configure.ac | 13 + gas/configure.tgt | 6 +- gas/doc/as.texi | 31 + gas/doc/c-i386.texi | 6 + gas/doc/c-loongarch.texi | 39 + gas/po/POTFILES.in | 1 + gas/testsuite/gas/all/gas.exp | 5 +- gas/testsuite/gas/elf/elf.exp | 1 + gas/testsuite/gas/i386/i386.exp | 2 + gas/testsuite/gas/i386/unaligned-vector-move.d | 41 + gas/testsuite/gas/i386/unaligned-vector-move.s | 34 + .../gas/i386/x86-64-unaligned-vector-move.d | 42 + gas/testsuite/gas/loongarch/4opt_op.d | 70 + gas/testsuite/gas/loongarch/4opt_op.s | 61 + gas/testsuite/gas/loongarch/fix_op.d | 134 + gas/testsuite/gas/loongarch/fix_op.s | 125 + gas/testsuite/gas/loongarch/float_op.d | 85 + gas/testsuite/gas/loongarch/float_op.s | 76 + gas/testsuite/gas/loongarch/imm_op.d | 48 + gas/testsuite/gas/loongarch/imm_op.s | 39 + gas/testsuite/gas/loongarch/jmp_op.d | 68 + gas/testsuite/gas/loongarch/jmp_op.s | 22 + gas/testsuite/gas/loongarch/load_store_op.d | 178 ++ gas/testsuite/gas/loongarch/load_store_op.s | 169 + .../testsuite/gas/loongarch/loongarch.exp | 31 +- gas/testsuite/gas/loongarch/macro_op.d | 733 +++++ gas/testsuite/gas/loongarch/macro_op.s | 29 + gas/testsuite/gas/loongarch/nop.d | 10 + .../gas/{riscv/t_insns.s => loongarch/nop.s} | 0 gas/testsuite/gas/loongarch/privilege_op.d | 44 + gas/testsuite/gas/loongarch/privilege_op.s | 35 + gas/testsuite/gas/loongarch/syscall.d | 11 + gas/testsuite/gas/loongarch/syscall.s | 2 + gas/testsuite/gas/riscv/b-ext-64.d | 26 +- gas/testsuite/gas/riscv/b-ext-64.s | 25 + gas/testsuite/gas/riscv/b-ext.d | 18 +- gas/testsuite/gas/riscv/b-ext.s | 17 + gas/testsuite/gas/riscv/extended/sifive-insns.d | 12 + gas/testsuite/gas/riscv/extended/sifive-insns.s | 4 + gas/testsuite/gas/s12z/truncated.d | 3 +- gas/testsuite/lib/gas-defs.exp | 4 + gdb/Makefile.in | 17 +- gdb/NEWS | 13 + gdb/aarch64-linux-tdep.c | 2 +- gdb/aarch64-tdep.c | 14 +- gdb/ada-lang.c | 141 +- gdb/ada-lang.h | 2 - gdb/ada-tasks.c | 2 +- gdb/ada-valprint.c | 16 +- gdb/aix-thread.c | 4 +- gdb/alpha-tdep.c | 8 +- gdb/amd64-tdep.c | 17 +- gdb/amd64-windows-tdep.c | 6 +- gdb/arc-tdep.c | 5 +- gdb/arch/arm.c | 7 + gdb/arch/arm.h | 17 +- gdb/arm-tdep.c | 295 +- gdb/arm-tdep.h | 20 +- gdb/avr-tdep.c | 2 +- gdb/bfin-tdep.c | 2 +- gdb/break-catch-sig.c | 6 +- gdb/break-catch-syscall.c | 36 +- gdb/breakpoint.c | 214 +- gdb/breakpoint.h | 16 +- gdb/bsd-uthread.c | 4 +- gdb/build-id.c | 21 +- gdb/c-exp.y | 5 +- gdb/c-lang.c | 4 +- gdb/c-valprint.c | 8 +- gdb/cli/cli-cmds.c | 2 +- gdb/cli/cli-dump.c | 4 +- gdb/coffread.c | 6 +- gdb/command.h | 1 - gdb/compile/compile-object-load.c | 3 +- gdb/complaints.c | 4 +- gdb/configure | 92 +- gdb/configure.ac | 21 - gdb/cp-valprint.c | 18 +- gdb/cris-tdep.c | 2 +- gdb/csky-tdep.c | 2 +- gdb/ctfread.c | 19 +- gdb/d-valprint.c | 2 +- gdb/darwin-nat.c | 58 +- gdb/disasm.c | 45 +- gdb/disasm.h | 10 +- gdb/doc/gdb.texinfo | 14 +- gdb/doc/python.texi | 9 + gdb/dummy-frame.c | 4 +- gdb/dwarf2/cu.c | 2 +- gdb/dwarf2/expr.c | 72 +- gdb/dwarf2/loc.c | 4 +- gdb/dwarf2/read.c | 69 +- gdb/dwarf2/read.h | 4 - gdb/elfread.c | 2 +- gdb/eval.c | 14 +- gdb/extension.c | 11 + gdb/extension.h | 6 + gdb/f-lang.c | 31 +- gdb/f-valprint.c | 2 +- gdb/fbsd-nat.c | 33 +- gdb/features/Makefile | 1 + gdb/features/arm/arm-m-profile-mve.c | 20 + gdb/features/arm/arm-m-profile-mve.xml | 19 + gdb/findcmd.c | 2 +- gdb/findvar.c | 10 +- gdb/frame-unwind.c | 7 +- gdb/frame.c | 23 +- gdb/frv-tdep.c | 4 +- gdb/gdbcmd.h | 12 +- gdb/gdbthread.h | 2 +- gdb/gdbtypes.c | 44 +- gdb/gdbtypes.h | 146 +- gdb/gnu-nat.c | 38 +- gdb/gnu-v3-abi.c | 14 +- gdb/go-valprint.c | 2 +- gdb/go32-nat.c | 16 +- gdb/guile/guile.c | 2 +- gdb/guile/scm-breakpoint.c | 4 +- gdb/guile/scm-value.c | 5 +- gdb/h8300-tdep.c | 2 +- gdb/hppa-tdep.c | 22 +- gdb/i386-darwin-tdep.c | 4 +- gdb/i386-tdep.c | 7 +- gdb/i387-tdep.c | 2 +- gdb/ia64-tdep.c | 34 +- gdb/inf-child.c | 15 +- gdb/inf-ptrace.c | 3 +- gdb/infcall.c | 6 +- gdb/infcmd.c | 7 +- gdb/infrun.c | 193 +- gdb/infrun.h | 2 +- gdb/iq2000-tdep.c | 2 +- gdb/linux-nat.c | 69 +- gdb/linux-nat.h | 6 +- gdb/linux-thread-db.c | 2 +- gdb/lm32-tdep.c | 2 +- gdb/m2-valprint.c | 4 +- gdb/m32c-tdep.c | 2 +- gdb/m32r-tdep.c | 4 +- gdb/m68hc11-tdep.c | 4 +- gdb/m68k-tdep.c | 2 +- gdb/mdebugread.c | 4 +- gdb/mep-tdep.c | 4 +- gdb/mips-tdep.c | 10 +- gdb/mn10300-tdep.c | 2 +- gdb/msp430-tdep.c | 2 +- gdb/nat/aarch64-linux-hw-point.c | 26 +- gdb/nat/aarch64-linux-hw-point.h | 1 + gdb/nat/fork-inferior.c | 19 +- gdb/nat/windows-nat.c | 52 +- gdb/nds32-tdep.c | 2 +- gdb/netbsd-nat.c | 26 +- gdb/nios2-tdep.c | 2 +- gdb/nto-procfs.c | 37 +- gdb/objfiles.c | 26 + gdb/objfiles.h | 5 + gdb/obsd-nat.c | 9 +- gdb/opencl-lang.c | 23 +- gdb/or1k-tdep.c | 6 +- gdb/p-valprint.c | 4 +- gdb/ppc-linux-tdep.c | 13 +- gdb/ppc-sysv-tdep.c | 4 +- gdb/printcmd.c | 11 +- gdb/procfs.c | 9 +- gdb/python/py-arch.c | 23 + gdb/python/py-breakpoint.c | 4 +- gdb/python/py-inferior.c | 200 +- gdb/python/py-membuf.c | 226 ++ gdb/python/py-unwind.c | 5 +- gdb/python/py-value.c | 6 +- gdb/python/python-internal.h | 6 + gdb/python/python.c | 64 +- gdb/ravenscar-thread.c | 4 +- gdb/record-btrace.c | 26 +- gdb/record-full.c | 36 +- gdb/regcache.c | 4 +- gdb/remote-sim.c | 9 +- gdb/remote.c | 144 +- gdb/riscv-tdep.c | 10 +- gdb/rl78-tdep.c | 2 +- gdb/rs6000-aix-tdep.c | 13 +- gdb/rs6000-lynx178-tdep.c | 13 +- gdb/rs6000-nat.c | 7 +- gdb/rs6000-tdep.c | 8 +- gdb/rust-lang.c | 15 +- gdb/rust-parse.c | 13 +- gdb/rx-tdep.c | 8 +- gdb/s390-tdep.c | 23 +- gdb/score-tdep.c | 2 +- gdb/sh-tdep.c | 6 +- gdb/sol-thread.c | 2 +- gdb/sparc-tdep.c | 4 +- gdb/sparc64-tdep.c | 4 +- gdb/stabsread.c | 12 +- gdb/stack.c | 10 +- gdb/std-regs.c | 4 +- gdb/target-descriptions.c | 6 +- gdb/target.c | 3 +- gdb/target/waitstatus.c | 20 +- gdb/target/waitstatus.h | 236 +- gdb/testsuite/Makefile.in | 43 +- gdb/testsuite/README | 2 +- gdb/testsuite/boards/gdbserver-base.exp | 2 +- gdb/testsuite/gdb.ada/array_of_variant.exp | 11 + gdb/testsuite/gdb.ada/array_of_variant/p.adb | 20 + gdb/testsuite/gdb.ada/same_component_name.exp | 84 +- gdb/testsuite/gdb.ada/same_component_name/foo.adb | 3 + gdb/testsuite/gdb.ada/varsize_limit.exp | 9 +- gdb/testsuite/gdb.ada/varsize_limit/vsizelim.adb | 12 + gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp | 2 + gdb/testsuite/gdb.arch/i386-mpx.exp | 2 - gdb/testsuite/gdb.base/annota1.exp | 60 +- gdb/testsuite/gdb.base/bp-cmds-continue-ctrl-c.c | 2 +- gdb/testsuite/gdb.base/bt-on-error-and-warning.exp | 4 +- gdb/testsuite/gdb.base/info-types.exp.tcl | 1 + gdb/testsuite/gdb.base/info_sources_2.exp | 16 +- gdb/testsuite/gdb.base/valgrind-bt.exp | 7 +- gdb/testsuite/gdb.base/valgrind-disp-step.exp | 7 +- gdb/testsuite/gdb.base/valgrind-infcall-2.exp | 7 +- gdb/testsuite/gdb.base/valgrind-infcall.exp | 7 +- gdb/testsuite/gdb.base/with-mf.exp | 4 +- gdb/testsuite/gdb.cp/step-and-next-inline.cc | 2 +- gdb/testsuite/gdb.cp/step-and-next-inline.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp | 8 +- gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 3 +- .../gdb.dwarf2/frame-inlined-in-outer-frame.exp | 3 + gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp | 11 + gdb/testsuite/gdb.dwarf2/gdb-add-index.exp | 4 +- .../gdb.dwarf2/imported-unit-runto-main.exp | 4 +- .../{loclists-multiple-cus.c => loc-sec-offset.c} | 0 gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp | 121 + gdb/testsuite/gdb.fortran/allocated.exp | 6 + .../array-no-bounds.exp} | 41 +- gdb/testsuite/gdb.fortran/array-no-bounds.f90 | 30 + gdb/testsuite/gdb.fortran/array-slices-bad.exp | 6 + .../gdb.fortran/array-slices-sub-slices.exp | 6 + gdb/testsuite/gdb.fortran/array-slices.exp | 6 + gdb/testsuite/gdb.fortran/call-no-debug.exp | 4 +- gdb/testsuite/gdb.fortran/info-modules.exp | 6 + gdb/testsuite/gdb.fortran/lbound-ubound.exp | 5 + gdb/testsuite/gdb.fortran/module.exp | 6 + gdb/testsuite/gdb.fortran/subarray.exp | 6 + gdb/testsuite/gdb.guile/scm-type.exp | 2 +- gdb/testsuite/gdb.mi/gdb2549.exp | 46 +- gdb/testsuite/gdb.mi/mi-async.exp | 3 + gdb/testsuite/gdb.mi/mi-break.exp | 8 +- gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 4 +- gdb/testsuite/gdb.mi/mi-fortran-modules.exp | 5 + gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 6 +- gdb/testsuite/gdb.mi/mi-var-child-f.exp | 6 + gdb/testsuite/gdb.mi/mi-var-cp.cc | 2 +- gdb/testsuite/gdb.python/py-arch.exp | 51 + .../py-inferior-leak.c} | 0 .../py-inferior-leak.exp} | 30 +- gdb/testsuite/gdb.python/py-inferior-leak.py | 109 + gdb/testsuite/gdb.python/python.exp | 30 +- gdb/testsuite/gdb.reverse/insn-reverse.exp | 3 + gdb/testsuite/gdb.rust/dwindex.exp | 4 +- gdb/testsuite/gdb.threads/check-libthread-db.exp | 4 +- gdb/testsuite/gdb.threads/linux-dp.exp | 2 +- .../{gdb.base/with-mf.exp => gdb.tui/break.exp} | 27 +- gdb/testsuite/gdb.tui/corefile-run.exp | 2 +- gdb/testsuite/gdb.tui/tui-missing-src.exp | 3 + gdb/testsuite/lib/dwarf.exp | 99 + gdb/testsuite/lib/gdb.exp | 46 + gdb/testsuite/lib/read1.c | 136 +- gdb/testsuite/lib/tuiterm.exp | 59 +- gdb/thread.c | 9 +- gdb/tic6x-tdep.c | 2 +- gdb/tilegx-tdep.c | 4 +- gdb/top.c | 37 +- gdb/tracepoint.c | 4 +- gdb/tui/tui-winsource.c | 3 +- gdb/unittests/format_pieces-selftests.c | 16 +- gdb/v850-tdep.c | 2 +- gdb/valarith.c | 71 +- gdb/valops.c | 90 +- gdb/valprint.c | 28 +- gdb/value.c | 131 +- gdb/value.h | 20 +- gdb/vax-tdep.c | 2 +- gdb/windows-nat.c | 30 +- gdb/windows-tdep.c | 4 +- gdb/xstormy16-tdep.c | 4 +- gdb/xtensa-tdep.c | 4 +- gdbserver/Makefile.in | 32 +- gdbserver/gdbthread.h | 19 +- gdbserver/inferiors.cc | 11 +- gdbserver/linux-low.cc | 200 +- gdbserver/linux-low.h | 49 +- gdbserver/netbsd-low.cc | 50 +- gdbserver/remote-utils.cc | 44 +- gdbserver/server.cc | 94 +- gdbserver/target.cc | 37 +- gdbserver/target.h | 2 +- gdbserver/tracepoint.cc | 8 +- gdbserver/win32-low.cc | 40 +- gdbsupport/array-view.h | 28 +- gdbsupport/common.m4 | 21 + gdbsupport/config.in | 3 + gdbsupport/configure | 46 + gdbsupport/selftest.cc | 37 +- gdbsupport/selftest.h | 14 - gold/incremental.cc | 2 +- gold/layout.cc | 3 +- gold/layout.h | 9 +- gold/options.h | 2 +- gold/output.cc | 7 +- gold/output.h | 3 +- gold/powerpc.cc | 691 ++--- gold/s390.cc | 7 +- gold/target.h | 15 +- include/dis-asm.h | 1 + include/elf/common.h | 12 +- include/elf/loongarch.h | 119 + include/opcode/loongarch.h | 239 ++ include/opcode/riscv-opc-extended.h | 11 + include/opcode/riscv-opc.h | 24 + include/opcode/riscv.h | 6 + ld/ChangeLog | 38 + ld/Makefile.am | 4 + ld/Makefile.in | 5 + ld/NEWS | 2 + ld/configure.tgt | 4 + ld/emulparams/elf32loongarch-defs.sh | 36 + ld/emulparams/elf32loongarch.sh | 11 + ld/emulparams/elf64loongarch-defs.sh | 39 + ld/emulparams/elf64loongarch.sh | 11 + ld/emultempl/{riscvelf.em => loongarchelf.em} | 50 +- ld/emultempl/riscvelf.em | 8 +- ld/ldelf.c | 1 - ld/po/BLD-POTFILES.in | 2 + ld/testsuite/ld-ctf/array.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-1.B-1.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-1.B-2.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-1.parent.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-2.A-1.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-2.A-2.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-2.parent.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-3.C-1.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-3.C-2.d | 2 +- ld/testsuite/ld-ctf/conflicting-cycle-3.parent.d | 2 +- ld/testsuite/ld-ctf/conflicting-enums.d | 2 +- ld/testsuite/ld-ctf/conflicting-typedefs.d | 2 +- ld/testsuite/ld-ctf/cross-tu-cyclic-conflicting.d | 2 +- .../ld-ctf/cross-tu-cyclic-nonconflicting.d | 2 +- ld/testsuite/ld-ctf/cross-tu-into-cycle.d | 2 +- ld/testsuite/ld-ctf/cross-tu-noncyclic.d | 2 +- ld/testsuite/ld-ctf/cycle-1.d | 2 +- ld/testsuite/ld-ctf/cycle-2.A.d | 2 +- ld/testsuite/ld-ctf/cycle-2.B.d | 2 +- ld/testsuite/ld-ctf/cycle-2.C.d | 2 +- ld/testsuite/ld-ctf/data-func-conflicted.d | 2 +- ld/testsuite/ld-ctf/diag-cttname-null.d | 2 +- ld/testsuite/ld-ctf/diag-cuname.d | 2 +- ld/testsuite/ld-ctf/diag-parlabel.d | 2 +- ld/testsuite/ld-ctf/enum-forward.d | 2 +- ld/testsuite/ld-ctf/enums.d | 2 +- ld/testsuite/ld-ctf/forward.d | 2 +- ld/testsuite/ld-ctf/function.d | 2 +- ld/testsuite/ld-ctf/nonrepresentable-member.c | 7 + ld/testsuite/ld-ctf/nonrepresentable-member.d | 25 + ld/testsuite/ld-ctf/nonrepresentable.d | 2 +- ld/testsuite/ld-ctf/slice.d | 2 +- ld/testsuite/ld-ctf/super-sub-cycles.d | 2 +- ld/testsuite/ld-elf/pr28158.rd | 2 +- ld/testsuite/ld-loongarch-elf/disas-jirl.d | 14 + ld/testsuite/ld-loongarch-elf/disas-jirl.s | 5 + ld/testsuite/ld-loongarch-elf/jmp_op.d | 68 + ld/testsuite/ld-loongarch-elf/jmp_op.s | 22 + ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp | 34 + ld/testsuite/ld-loongarch-elf/macro_op.d | 732 +++++ ld/testsuite/ld-loongarch-elf/macro_op.s | 29 + ld/testsuite/ld-loongarch-elf/syscall-0.s | 9 + ld/testsuite/ld-loongarch-elf/syscall-1.s | 20 + ld/testsuite/ld-loongarch-elf/syscall.d | 5 + ld/testsuite/ld-riscv-elf/align-small-region.d | 12 + ld/testsuite/ld-riscv-elf/align-small-region.ld | 12 + ld/testsuite/ld-riscv-elf/align-small-region.s | 7 + ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp | 5 +- .../ld-riscv-elf/{pcgp-relax.d => pcgp-relax-01.d} | 2 +- .../ld-riscv-elf/{pcgp-relax.s => pcgp-relax-01.s} | 0 ld/testsuite/ld-riscv-elf/pcgp-relax-02.d | 15 + ld/testsuite/ld-riscv-elf/pcgp-relax-02.s | 18 + ld/testsuite/ld-riscv-elf/restart-relax.d | 14 - ld/testsuite/ld-riscv-elf/restart-relax.s | 17 - ld/testsuite/ld-srec/srec.exp | 6 + ld/testsuite/ld-unique/pr21529.d | 2 +- libctf/ChangeLog | 8 + libctf/ctf-dump.c | 14 +- libctf/ctf-types.c | 19 +- opcodes/Makefile.am | 3 + opcodes/Makefile.in | 6 + opcodes/configure | 1 + opcodes/configure.ac | 1 + opcodes/disassemble.c | 9 + opcodes/disassemble.h | 1 + opcodes/loongarch-coder.c | 473 +++ opcodes/loongarch-dis.c | 342 ++ opcodes/loongarch-opc.c | 798 +++++ opcodes/po/POTFILES.in | 3 + opcodes/riscv-opc.c | 33 + opcodes/s12z-dis.c | 3 + opcodes/z80-dis.c | 2 + 473 files changed, 17194 insertions(+), 3462 deletions(-) create mode 100644 bfd/cpu-loongarch.c create mode 100644 bfd/elfnn-loongarch.c create mode 100644 bfd/elfxx-loongarch.c create mode 100644 bfd/elfxx-loongarch.h create mode 100644 gas/config/loongarch-lex-wrapper.c create mode 100644 gas/config/loongarch-lex.h create mode 100644 gas/config/loongarch-lex.l create mode 100644 gas/config/loongarch-parse.y create mode 100644 gas/config/tc-loongarch.c create mode 100644 gas/config/tc-loongarch.h create mode 100644 gas/doc/c-loongarch.texi create mode 100644 gas/testsuite/gas/i386/unaligned-vector-move.d create mode 100644 gas/testsuite/gas/i386/unaligned-vector-move.s create mode 100644 gas/testsuite/gas/i386/x86-64-unaligned-vector-move.d create mode 100644 gas/testsuite/gas/loongarch/4opt_op.d create mode 100644 gas/testsuite/gas/loongarch/4opt_op.s create mode 100644 gas/testsuite/gas/loongarch/fix_op.d create mode 100644 gas/testsuite/gas/loongarch/fix_op.s create mode 100644 gas/testsuite/gas/loongarch/float_op.d create mode 100644 gas/testsuite/gas/loongarch/float_op.s create mode 100644 gas/testsuite/gas/loongarch/imm_op.d create mode 100644 gas/testsuite/gas/loongarch/imm_op.s create mode 100644 gas/testsuite/gas/loongarch/jmp_op.d create mode 100644 gas/testsuite/gas/loongarch/jmp_op.s create mode 100644 gas/testsuite/gas/loongarch/load_store_op.d create mode 100644 gas/testsuite/gas/loongarch/load_store_op.s copy gdb/testsuite/gdb.base/with-mf.exp => gas/testsuite/gas/loongarch/loongarch.e [...] create mode 100644 gas/testsuite/gas/loongarch/macro_op.d create mode 100644 gas/testsuite/gas/loongarch/macro_op.s create mode 100644 gas/testsuite/gas/loongarch/nop.d copy gas/testsuite/gas/{riscv/t_insns.s => loongarch/nop.s} (100%) create mode 100644 gas/testsuite/gas/loongarch/privilege_op.d create mode 100644 gas/testsuite/gas/loongarch/privilege_op.s create mode 100644 gas/testsuite/gas/loongarch/syscall.d create mode 100644 gas/testsuite/gas/loongarch/syscall.s create mode 100644 gas/testsuite/gas/riscv/extended/sifive-insns.d create mode 100644 gas/testsuite/gas/riscv/extended/sifive-insns.s create mode 100644 gdb/features/arm/arm-m-profile-mve.c create mode 100644 gdb/features/arm/arm-m-profile-mve.xml create mode 100644 gdb/python/py-membuf.c copy gdb/testsuite/gdb.dwarf2/{loclists-multiple-cus.c => loc-sec-offset.c} (100%) create mode 100644 gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp copy gdb/testsuite/{gdb.dwarf2/gdb-add-index-symlink.exp => gdb.fortran/array-no-b [...] create mode 100644 gdb/testsuite/gdb.fortran/array-no-bounds.f90 copy gdb/testsuite/{gdb.base/inferior-noarg.c => gdb.python/py-inferior-leak.c} (100%) rename gdb/testsuite/{gdb.gdb/python-interrupts.exp => gdb.python/py-inferior-leak [...] create mode 100644 gdb/testsuite/gdb.python/py-inferior-leak.py copy gdb/testsuite/{gdb.base/with-mf.exp => gdb.tui/break.exp} (56%) create mode 100644 include/elf/loongarch.h create mode 100644 include/opcode/loongarch.h create mode 100644 ld/emulparams/elf32loongarch-defs.sh create mode 100644 ld/emulparams/elf32loongarch.sh create mode 100644 ld/emulparams/elf64loongarch-defs.sh create mode 100644 ld/emulparams/elf64loongarch.sh copy ld/emultempl/{riscvelf.em => loongarchelf.em} (52%) create mode 100644 ld/testsuite/ld-ctf/nonrepresentable-member.c create mode 100644 ld/testsuite/ld-ctf/nonrepresentable-member.d create mode 100644 ld/testsuite/ld-loongarch-elf/disas-jirl.d create mode 100644 ld/testsuite/ld-loongarch-elf/disas-jirl.s create mode 100644 ld/testsuite/ld-loongarch-elf/jmp_op.d create mode 100644 ld/testsuite/ld-loongarch-elf/jmp_op.s create mode 100644 ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp create mode 100644 ld/testsuite/ld-loongarch-elf/macro_op.d create mode 100644 ld/testsuite/ld-loongarch-elf/macro_op.s create mode 100644 ld/testsuite/ld-loongarch-elf/syscall-0.s create mode 100644 ld/testsuite/ld-loongarch-elf/syscall-1.s create mode 100644 ld/testsuite/ld-loongarch-elf/syscall.d create mode 100644 ld/testsuite/ld-riscv-elf/align-small-region.d create mode 100644 ld/testsuite/ld-riscv-elf/align-small-region.ld create mode 100644 ld/testsuite/ld-riscv-elf/align-small-region.s rename ld/testsuite/ld-riscv-elf/{pcgp-relax.d => pcgp-relax-01.d} (94%) rename ld/testsuite/ld-riscv-elf/{pcgp-relax.s => pcgp-relax-01.s} (100%) create mode 100644 ld/testsuite/ld-riscv-elf/pcgp-relax-02.d create mode 100644 ld/testsuite/ld-riscv-elf/pcgp-relax-02.s delete mode 100644 ld/testsuite/ld-riscv-elf/restart-relax.d delete mode 100644 ld/testsuite/ld-riscv-elf/restart-relax.s create mode 100644 opcodes/loongarch-coder.c create mode 100644 opcodes/loongarch-dis.c create mode 100644 opcodes/loongarch-opc.c