[Bug 217610] ELF loader should have a special case for program headers with p_filesz == 0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 7 13:46:33 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217610
--- Comment #1 from Robert Clausecker <fuz at fuz.su> ---
As an example, save the following file in test.S and type
cc -c test.S
ld -o test test.o
./test
on an amd64 machine to reproduce the problem. test.S:
#include <sys/syscall.h>
.bss
.align 4096
x: .space 16
.text
.globl _start
_start:
mov $SYS_exit,%eax
xor %edi,%edi
syscall
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list