https://sourceware.org/bugzilla/show_bug.cgi?id=16698

--- Comment #9 from maillist-gdb at barfooze dot de ---
Created attachment 7663
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7663&action=edit
generated object files

sorry for the delay; back from holidays.
here are the generated obj files. since you do not experience the same problem,
i suspect it may be related to the 2 external symbols that get pulled in:

0000026c  00000e1c R_ARM_CALL        00000000   abort
000004d8  00000c1c R_ARM_CALL        00000000   __aeabi_uidiv

one is of libc and the other of libgcc.

arm-linux-musleabi-readelf -a `arm-linux-musleabi-gcc -print-libgcc-file-name`
| grep __aeabi_uidiv | head
    17: 00000000     0 FUNC    GLOBAL HIDDEN     1 __aeabi_uidiv

$ arm-linux-musleabi-readelf -a
$HOME/musl-cross-4.8.3/arm-linux-musleabi/arm-linux-musleabi/lib/libc.a | grep
abort
File:
$HOME/musl-cross-4.8.3/arm-linux-musleabi/arm-linux-musleabi/lib/libc.a(abort.o)
     1: 00000000     0 FILE    LOCAL  DEFAULT  ABS abort.c
    16: 00000000    24 FUNC    GLOBAL DEFAULT    1 abort
00000034  0000161c R_ARM_CALL        00000000   abort
    22: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND abort

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to