#include "reloc1.h" #include extern char testzero[16384]; int main() { int i; if (foo.a != 1 || foo.b != &foo || foo.c != &bar || bar != 26) abort (); if (f1 () != 11 || f2 () != 12) abort (); for (i = 0; i < 16384; ++i) if (testzero[i]) abort (); exit (0); } #ifdef __arm__ asm (".section nonalloced,\"aw\",%nobits\n\t" ".globl testzero\n\t" "testzero: .skip 16384\n\t" ".previous"); #else asm (".section nonalloced,\"aw\",@nobits\n\t" ".globl testzero\n\t" "testzero: .skip 16384\n\t" ".previous"); #endif