[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:

From: maillist-gdb at barfooze dot de
Subject: [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387
Date: Mon, 30 Jun 2014 20:32:33 +0000


--- Comment #11 from maillist-gdb at barfooze dot de ---
according to the contents of the "abfd" variable when the assert is raised,
it's caused by the stdin.o and fflush.o object files in libc.a, which both do
some weak symbol magic to pull in specific functions or data only when they're
actually used.
i'm not fully understanding yet what's happening there...

the code in question is
http://git.etalabs.net/cgit/musl/tree/src/stdio/stdin.c#n15 (variable is
defined here http://git.etalabs.net/cgit/musl/tree/src/stdio/__stdio_exit.c#n4

it seems they're getting pulled in via crt1.o -> __libc_start_main -> exit

if i can find a way to get ld to list all the object files it pulls in from
libc.a, i could extract those and attach them here.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]