[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20815] throw errors for invalid load segment
From: |
ma.jiang at zte dot com.cn |
Subject: |
[Bug ld/20815] throw errors for invalid load segment |
Date: |
Thu, 17 Nov 2016 10:33:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20815
--- Comment #12 from ma.jiang at zte dot com.cn ---
Created attachment 9643
--> https://sourceware.org/bugzilla/attachment.cgi?id=9643&action=edit
the invalid elf
(In reply to Nick Clifton from comment #11)
Hi Nick,
I have checked your file. Yes, your elf is OK(as it does not have a PT_PHDR).
I have found the way to create your elf on my server(gcc test.c -c; ld test.o
pad.ld -o test). 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.
>
> > To tell the truth, it's not hard for me to find what is wrong(LOL). But
> > I'm a tool-chain maintainer in my company, and there are a lot of normal
> > users who will get totally confused by such problems.
>
> But hang on - why would a normal user be creating and using their own linker
> scripts ? This is something that should be completely hidden from the user,
> and something that they never have to worry about (or even know about).
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, :)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20815] throw errors for invalid load segment, (continued)
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/14
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/14
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/14
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/16
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/16
- [Bug ld/20815] throw errors for invalid load segment, hjl.tools at gmail dot com, 2016/11/16
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/16
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/16
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/17
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/17
- [Bug ld/20815] throw errors for invalid load segment,
ma.jiang at zte dot com.cn <=
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/18
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/18
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/18
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/18
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/18
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/21
- [Bug ld/20815] throw errors for invalid load segment, cvs-commit at gcc dot gnu.org, 2016/11/23
- [Bug ld/20815] throw errors for invalid load segment, nickc at redhat dot com, 2016/11/23
- [Bug ld/20815] throw errors for invalid load segment, cvs-commit at gcc dot gnu.org, 2016/11/23
- [Bug ld/20815] throw errors for invalid load segment, ma.jiang at zte dot com.cn, 2016/11/24