https://sourceware.org/bugzilla/show_bug.cgi?id=29450
--- Comment #3 from Sergei Trofimovich ---
gas-2.39 started adding 0-sized DIE for function without a .size marking:
$ cat crti.S.S
.section .init,"ax",@progbits
.p2align 2
.globl _init
.hidden _init
.type _init, @function
_init:
.sec
https://sourceware.org/bugzilla/show_bug.cgi?id=29450
--- Comment #4 from Sergei Trofimovich ---
Filed https://sourceware.org/PR29451 against gas.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=29450
Sergei Trofimovich changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
binutils started producing 0-sized DIEs on functions interspersed
by nested sections (".section ...; .previous). This led to
run-low_high_pc.sh failure in form of:
FAIL: run-low_high_pc.sh
[b] main.c
[2d] main
[b] ../sysdeps/i386/start.S
[26] _sta
Noticed when debugged test failure:
lowpc: 8049000, highpc: 8049000lx
../sysdeps/i386/crti.S: [2def] '_init' highpc <= lowpc
Signed-off-by: Sergei Trofimovich
---
tests/ChangeLog | 4
tests/low_high_pc.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/test