[Bug gas/29844] [2.40 Regression] arch/x86/kernel/signal_64.c:31: Error: register type mismatch for `lar'
https://sourceware.org/bugzilla/show_bug.cgi?id=29844 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=859aa2c86dc9721424d96584879385a18ccf76ed commit 859aa2c86dc9721424d96584879385a18ccf76ed Author: H.J. Lu Date: Fri Dec 2 18:43:20 2022 -0800 x86: Allow 16-bit register source for LAR and LSL Since LAR and LSL only access 16 bits of the source operand, regardless of operand size, allow 16-bit register source for LAR and LSL, and always disassemble LAR and LSL with 16-bit source operand. gas/ PR gas/29844 * testsuite/gas/i386/i386.s: Add tests for LAR and LSL. * testsuite/gas/i386/x86_64.s: Likewise. * testsuite/gas/i386/intelbad.s: Remove "lar/lsl eax, ax". * testsuite/gas/i386/i386-intel.d: Updated. * testsuite/gas/i386/i386.d: Likewise. * testsuite/gas/i386/intel-intel.d: Likewise. * testsuite/gas/i386/intel.d: Likewise. * testsuite/gas/i386/intelbad.l: Likewise. * testsuite/gas/i386/x86_64-intel.d: Likewise. * testsuite/gas/i386/x86_64.d: Likewise. opcodes/ PR gas/29844 * i386-dis.c (MOD_0F02): Removed. (MOD_0F03): Likewise. (dis386_twobyte): Restore larS and lslS. (mod_table): Remove MOD_0F02 and MOD_0F03. * i386-opc.tbl: Allow 16-bit register source for LAR and LSL. * i386-tbl.h: Regenerated. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/29844] [2.40 Regression] arch/x86/kernel/signal_64.c:31: Error: register type mismatch for `lar'
https://sourceware.org/bugzilla/show_bug.cgi?id=29844 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|--- |2.40 Resolution|--- |FIXED --- Comment #5 from H.J. Lu --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/29846] New: NULL pointer segmentation fault when accessing field `the_bfd` in function `compare_symbols`
https://sourceware.org/bugzilla/show_bug.cgi?id=29846 Bug ID: 29846 Summary: NULL pointer segmentation fault when accessing field `the_bfd` in function `compare_symbols` Product: binutils Version: 2.40 (HEAD) Status: UNCONFIRMED Severity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: r3tr0spect2019 at gmail dot com Target Milestone: --- Created attachment 14478 --> https://sourceware.org/bugzilla/attachment.cgi?id=14478&action=edit PoC # Reproduce cd binutils-gdb git reset --hard aaa8dbc1b31233f66131476e03ab8635805e515d mkdir build && cd build ../configure --disable-gdb --disable-gdbserver --disable-gdbsupport --disable-libdecnumber --disable-readline --disable-sim --disable-libbacktrace --disable-gas --disable-ld --disable-werror --enable-targets=all CPPFLAGS=-DDEBUG CFLAGS="-g -O0 -fsanitize=address" make all-binutils MAKEINFO=true && true binutils/objdump -d the_bfd_null.elf # Output ../the_bfd_null.elf: file format elf32-sparc binutils/objdump: ../the_bfd_null.elf: invalid string offset 626704 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 557220 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 896064 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 1232935 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 536969381 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 536990215 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 536903819 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 2684360832 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 447495 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 536990727 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 2686440967 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 1073709872 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 2684396036 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf: invalid string offset 536903844 >= 3037 for section `.dynstr' binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 50 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 51 has invalid symbol index 1041 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 52 has invalid symbol index 7044096 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 53 has invalid symbol index 495360 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 55 has invalid symbol index 1041 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 56 has invalid symbol index 16342016 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 57 has invalid symbol index 507904 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 59 has invalid symbol index 1041 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 60 has invalid symbol index 16596992 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 61 has invalid symbol index 518656 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 62 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 64 has invalid symbol index 6054912 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 65 has invalid symbol index 526336 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 66 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 68 has invalid symbol index 16527360 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 69 has invalid symbol index 534784 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 70 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 71 has invalid symbol index 32786 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 72 has invalid symbol index 3463168 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 73 has invalid symbol index 545536 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 74 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 75 has invalid symbol index 20498 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 76 has invalid symbol index 1664 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 77 has invalid symbol index 557312 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 78 has invalid symbol index 2304 binutils/objdump: ../the_bfd_null.elf(.rela.plt): relocation 80 has inva
[Bug binutils/29846] NULL pointer segmentation fault when accessing field `the_bfd` in function `compare_symbols`
https://sourceware.org/bugzilla/show_bug.cgi?id=29846 2019 changed: What|Removed |Added Target||objdump Build||aaa8dbc1b31233f66131476e03a ||b8635805e515d -- You are receiving this mail because: You are on the CC list for the bug.