From: "slyich at gmail dot com" <sourceware-bugzilla@sourceware.org>
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 [thread overview]
Message-ID: <bug-29450-10460-0iQbp46DbZ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29450-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=29450
--- Comment #1 from Sergei Trofimovich <slyich at gmail dot com> ---
Created attachment 14257
--> https://sourceware.org/bugzilla/attachment.cgi?id=14257&action=edit
low_high_pc
Attaching the binary itself. It was a failing selftest:
$ LD_LIBRARY_PATH=$PWD/libdw:$PWD/libelf tests/low_high_pc -e tests/low_high_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 <= 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2022-08-06 6:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-06 6:34 [Bug libdw/29450] New: " slyich at gmail dot com
2022-08-06 6:47 ` slyich at gmail dot com [this message]
2022-08-06 6:58 ` [Bug libdw/29450] " slyich at gmail dot com
2022-08-06 8:06 ` slyich at gmail dot com
2022-08-06 8:10 ` slyich at gmail dot com
2022-08-06 8:10 ` slyich at gmail dot com
2022-08-07 23:30 ` mark at klomp dot org
2022-08-10 11:13 ` mark at klomp dot org
2022-08-10 11:15 ` mliska at suse dot cz
2022-08-11 9:17 ` slyich at gmail dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-29450-10460-0iQbp46DbZ@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).