From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70B9F3858C62; Sat, 6 Aug 2022 06:47:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70B9F3858C62 From: "slyich at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug libdw/29450] run-low_high_pc.sh fails on i386 against binutils-2.39 Date: Sat, 06 Aug 2022 06:47:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2022 06:47:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29450 --- Comment #1 from Sergei Trofimovich --- Created attachment 14257 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14257&action=3Ded= it low_high_pc Attaching the binary itself. It was a failing selftest: $ LD_LIBRARY_PATH=3D$PWD/libdw:$PWD/libelf tests/low_high_pc -e tests/low_h= igh_pc [b] ../sysdeps/i386/start.S [26] _start [40] ../sysdeps/x86/abi-note.c [b52] init.c [b8e] static-reloc.c [2dba] _dl_relocate_static_pie [2dd8] ../sysdeps/i386/crti.S [2def] _init lowpc: 8049000, highpc: 8049000 ../sysdeps/i386/crti.S: [2def] '_init' highpc <=3D lowpc gdb somehow knows the size of the _init: $ gdb /tmp/low_high_pc Reading symbols from /tmp/low_high_pc... (gdb) disassemble _init Dump of assembler code for function _init: 0x08049000 <+0>: endbr32 0x08049004 <+4>: push %ebx 0x08049005 <+5>: sub $0x8,%esp 0x08049008 <+8>: call 0x8049400 <__x86.get_pc_thunk.bx> 0x0804900d <+13>: add $0x2f93,%ebx 0x08049013 <+19>: mov 0x5c(%ebx),%eax 0x08049019 <+25>: test %eax,%eax 0x0804901b <+27>: je 0x804901f <_init+31> 0x0804901d <+29>: call *%eax 0x0804901f <+31>: add $0x8,%esp 0x08049022 <+34>: pop %ebx 0x08049023 <+35>: ret End of assembler dump. --=20 You are receiving this mail because: You are on the CC list for the bug.=