[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding REAL_EXIT
From: |
Ben Elliston |
Subject: |
Re: Regarding REAL_EXIT |
Date: |
Sun, 8 Oct 2006 21:39:48 +1000 |
User-agent: |
Mutt/1.5.9i |
Hi.
> output is testglue.o:(.text+0x20e): undefined reference to `___real__exit'
> /usr/lib/gcc/mytarget-elf/3.4.6/../../../../mytarget-elf/bin/ld: final link
> failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
When you set needs_status_wrapper to 1 for a target, it's up to the
GCC test harness to adjust the linker flags to add the --wrap option.
This will wrap your exit function with a wrapped version that outputs
a some text to indicate success/failure and then calls the real exit
function.
Why isn't your setup doing that? Take a look at gcc.log.
Cheers, Ben
signature.asc
Description: Digital signature