This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ld: provide __ehdr_start magic symbol

On Sun, Jun 24, 2012 at 3:03 PM, Hans-Peter Nilsson
<> wrote:
> This new test fails for arm-unknown-eabi,
> mipsisa32r2el-unknown-linux-gnu and cris-axis-elf, probably
> others.

For arm-unknown-eabi and cris-axis-elf, the default layout does not put the
headers in the address space, so this test cannot succeed.  I added a
"#notarget:" line for those.  For mipsisa32r2el-unknown-linux-gnu, it was
indeed just the entry symbol warning, which I fixed with an explicit -e.

Here's what I'm committing.


2012-06-25  Roland McGrath  <>

	* ld-elf/ehdr_start.d (ld): Add explicit -e _start.
	(notarget): Add arm*-*-eabi* cris-*-*.

diff --git a/ld/testsuite/ld-elf/ehdr_start.d b/ld/testsuite/ld-elf/ehdr_start.d
index 3965eeb..05c6a07 100644
--- a/ld/testsuite/ld-elf/ehdr_start.d
+++ b/ld/testsuite/ld-elf/ehdr_start.d
@@ -1,6 +1,7 @@
 #source: ehdr_start.s
+#ld: -e _start
 #nm: -n
+#notarget: arm*-*-eabi* cris-*-*

 [0-9a-f]*000 [ADRT] __ehdr_start

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]