https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116642

--- Comment #14 from Joshua <joshudson at gmail dot com> ---
Is this just a doc problem then?

It says I must use -fpie to make a relocatable executable.

I need a relocatable executable with no relocations. There is nothing in source
code requiring a relocation, so I am surprised at gcc trying to emit one.

It's too bad I don't get a compile error if I try to write something like this:

static char *str = "/bin/false";

Reply via email to