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

Attachment: signature.asc
Description: Digital signature

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

Reply via email to