Re: [PATCH] Fix PIE on netbsd (PR target/87221)

2018-11-09 Thread Jeff Law
On 11/9/18 1:59 AM, co...@sdf.org wrote: > Re-sending because my patch doesn't seem to appear on the archive > > > This matches to what netbsd is doing with its own copy of GCC, > it can be simpler. > > PR target/87221: > config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): use crtbeginS.o for PIE > (NE

[PATCH] Fix PIE on netbsd (PR target/87221)

2018-11-09 Thread coypu
Re-sending because my patch doesn't seem to appear on the archive This matches to what netbsd is doing with its own copy of GCC, it can be simpler. PR target/87221: config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): use crtbeginS.o for PIE (NETBSD_ENDFILE_SPEC): use crtendS.o for PIE --- gcc/config/