bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/17081] gold produces static arm binary that crashes at startup


From: rafael.espindola at gmail dot com
Subject: [Bug gold/17081] gold produces static arm binary that crashes at startup
Date: Wed, 25 Jun 2014 18:09:26 +0000

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



--- Comment #3 from Rafael Ávila de Espíndola <rafael.espindola a
t gmail dot com> ---

This reduces to a trivial link time problem:



$ cat start.s 

 .globl _start

 .type _start,#function

_start:

 bl __rel_iplt_start



.globl my_memcpy

my_memcpy:

 .type my_memcpy, #gnu_indirect_function

 bx lr



$ llvm-mc -triple=armv7-linux-gnueabihf start.s -o start.o -filetype=obj

$ ld.gold -Bstatic start.o -o t



Looks like gold in not creating __rel_iplt_start but bfd ld is.



-- 

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]