The problem was with the dejagnu itself.... i forgot to mention the version of 
the Dejagnu that i was using, and it was 1.4.3. This had some problem with the  
REAL_EXIT.
I even didnt apply the path to 1.4.3 for this problem.
When i used 1.4.4 for testing it worked out fine.

Thanks for the reply

----- Original Message ----
From: Ben Elliston <[EMAIL PROTECTED]>
To: Mohamed Shafi <[EMAIL PROTECTED]>
Cc: dejagnu@gnu.org
Sent: Sunday, October 8, 2006 5:09:48 PM
Subject: Re: Regarding REAL_EXIT

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







_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to