bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20815] throw errors for invalid load segment


From: nickc at redhat dot com
Subject: [Bug ld/20815] throw errors for invalid load segment
Date: Fri, 18 Nov 2016 09:55:29 +0000

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

--- Comment #13 from Nick Clifton <nickc at redhat dot com> ---
Hi Ma,

> I create my elf using "gcc test.c pad.ld -o
> test".My elf do have a PT_PHDR. I have uploaded it,please check.

OK, so what is wrong with this test file ?  It does have a PT_PHDR segment, but
it is the first one in the program header table and it does cover the program
headers as they exist in the file.


> > But hang on - why would a normal user be creating and using their own linker
> > scripts ?

> Trust me, there were so many such guys. This problem was reported by a
> expert in kernel(not in tool-chain...), when porting some hugepage tests to
> mips. Let us give them a hand, :)

OK - well if we can will.  Provided that we do not break anything else of
course.

Cheers
  Nick

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