Initial revision
[binutils.git] / gas / testsuite / gas / mips / elf_e_flags.c
blob17fb1110c8e763a8b50f48c46f634ef90d4806b0
1 /* This file isn't directly used by the test suite; it uses
2 elf_e_flags.s. However, I figured it would be nice to provide the
3 source code from which the .s file was generated.
5 It was compiled as follows:
7 mips64-elf-gcc -m4650 -S -O elf_e_flags.c
9 We use the -m4650 flag to get the 4650-specific 'mul' instruction
10 in there; the test suite wants to be sure that GAS's -m4650 flag
11 will indeed cause it to generate the 4650 mul instruction, and not
12 expand it as a macro. */
14 int
15 foo (int a, int b)
17 return (a * b) + 1;
20 int
21 main ()
23 return 0;