mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
2001-02-11 H.J. Lu <hjl@gnu.org>
* config/default.exp: Set up gcc_gas_flag. * binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag for Linux only. * binutils-all/testprog.c: Include <string.h> and don't use exit ().
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
/* This program is used to test objcopy and strip. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int common;
|
||||
int global = 1;
|
||||
@ -22,9 +23,9 @@ main ()
|
||||
|| strcmp (string, "string") != 0)
|
||||
{
|
||||
printf ("failed\n");
|
||||
exit (1);
|
||||
return (1);
|
||||
}
|
||||
|
||||
printf ("ok\n");
|
||||
exit (0);
|
||||
return (0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user