[PATCH] arm: Simplify elf_machine_{load_address,dynamic}

Lukasz Majewski lukma@denx.de
Mon Aug 30 08:11:09 GMT 2021


Hi Fangrui ,Joseph,

> On Tue, 17 Aug 2021, Fangrui Song via Libc-alpha wrote:
> 
> > and drop reliance on _GLOBAL_OFFSET_TABLE_[0] being the link-time
> > address of _DYNAMIC. &__ehdr_start is a better way to get the load
> > address.  
> 
> OK.
> 

This commit causes very early OOPs on QEMU running kernel for ARM32 bit.

I've found this issue when developing and testing glibc ptests with the
newest glibc -master.

I'm going to debug this issue and share more info.

Reverting this patch (SHA1: bca0f5cbc9257c13322b99e55235c4f21ba0bd82)
causes the kernel to boot again.


The exact error is attached.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm32_bit_bug.txt
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20210830/200305c8/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20210830/200305c8/attachment-0001.sig>


More information about the Libc-alpha mailing list