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:
H.J. Lu 2001-02-12 00:21:59 +00:00
parent 708b82c780
commit 9a580d9af6
4 changed files with 33 additions and 2 deletions

View file

@ -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);
}