| 1 |
/* Generated by compiling with any GCC version and with a binutils |
| 2 |
** distribution that includes support for compressed sections. GNU binutils |
| 3 |
** 2.28 is fine. |
| 4 |
** |
| 5 |
** gcc -c -m32 -O0 -g compressed.c -o compressed_32.o |
| 6 |
** gcc -c -m64 -O0 -g compressed.c -o compressed_64.o |
| 7 |
** |
| 8 |
** compressed_unknown_type.o is a copy of compressed_64.o that is hand |
| 9 |
** hex-edited to replace the ch_field with 0x7ffffffe. |
| 10 |
** |
| 11 |
** compressed_bad_size.o is a copy of compressed_64.o that is hand |
| 12 |
** hex-edited to replace the ch_size with 0x328 (instead of 0x327). |
| 13 |
*/ |
| 14 |
|
| 15 |
#include <stdio.h> |
| 16 |
|
| 17 |
int foo(int i) { |
| 18 |
printf ("i = %i\n", i); |
| 19 |
return 0; |
| 20 |
} |