strace output debian@debian-powerpc64-be:~/tmp/ppc64BE-examples$ strace ./ex1 execve("./ex1", ["./ex1"], 0x7fffe2c77720 /* 31 vars */) = 0 brk(NULL) = 0x10037f10000 brk(0x10037f10b98) = 0x10037f10b98 set_tid_address(0x10037f100d0) = 3103 set_robust_list(0x10037f100e0, 24) = 0 uname({sysname="Linux", nodename="debian-powerpc64-be", ...}) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/home/debian/tmp/ppc64BE-example"..., 4096) = 37 getrandom("\x38\xee\xf6\xbb\x4e\x1d\x27\x0e", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x10037f10b98 brk(0x10037f40b98) = 0x10037f40b98 brk(0x10037f50000) = 0x10037f50000 mprotect(0x100b0000, 65536, PROT_READ) = 0 exit_group(0) = ? +++ exited with 0 +++ ----------------- debian@debian-powerpc64-be:~/tmp/ppc64BE-examples$ strace ./ex2 execve("./ex2", ["./ex2"], 0x7fffdb79e9f0 /* 31 vars */) = 0 brk(NULL) = 0x10001d30000 brk(0x10001d30b98) = 0x10001d30b98 set_tid_address(0x10001d300d0) = 3107 set_robust_list(0x10001d300e0, 24) = 0 uname({sysname="Linux", nodename="debian-powerpc64-be", ...}) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/home/debian/tmp/ppc64BE-example"..., 4096) = 37 getrandom("\xee\x18\x09\xf7\xeb\xa3\x9a\xab", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x10001d30b98 brk(0x10001d60b98) = 0x10001d60b98 brk(0x10001d70000) = 0x10001d70000 mprotect(0x100b0000, 65536, PROT_READ) = 0 openat(AT_FDCWD, "ex2.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) = 0 write(3, "Hello world!\n", 13) = 13 close(3) = 0 brk(0x10001d60000) = 0x10001d60000 exit_group(0) = ? +++ exited with 0 +++