README.md: x86-32/64 support
[centaur.git] / tests / 99-data256mb.test
1 #!/bin/sh
2
3 # 1. Inject a freshly built object file with a 256 MB data section
4 #    into a fresh executable.
5 # 2. Check if the new executable is still functional.
6
7 source ./boilerplate.sh
8
9 elfucli --input $BUILDDIR/putsmain \
10         --reladd $BUILDDIR/data256mb.o \
11         --output $BUILDDIR/putsmain-with-data256mb
12 test_check_retval
13
14 $BUILDDIR/putsmain-with-data256mb | grep -q "puts() #2 called in main()"
15 test_check_retval