bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17615] aarch64: ld.bfd generates SHN_ABS instead of SHN_UNDEF


From: hjl.tools at gmail dot com
Subject: [Bug ld/17615] aarch64: ld.bfd generates SHN_ABS instead of SHN_UNDEF
Date: Fri, 19 Dec 2014 13:50:51 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to dimitry from comment #9)
> hi, I was looking at the .so file. I guess the part I do not understand is
> that .bss section is there; and PT_LOADS seems to be in place; so as far as
> I understand there is no reason for making st_shndx for hz_internal_* ABS;
> it doesn't really save any space.
> 
> Isn't the fact that st_shndx for global (.bss) == ABS a bug?

Use "ld --gc-sections -shared" directly.  You will see there is no
.bss section at all.  The .bss section you see comes from other
input files added by GCC driver.

-- 
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]