I'm not sure if it is valid to assume that a linker script "usually" specifies a fixed memory location.
paul > On Apr 4, 2022, at 11:06 AM, Carlos Bilbao via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: > > Projects that rely on a linker script usually specify a memory location > where the executable should be placed. This directly contradicts the > default option -fpie for position independent executables. In fact, using > PIE generates a GOT, which might be undesirable for developers that need > control over the generated sections. > > Would it be positive to assume -fno-pie on these situations? > > Signed-off-by: Carlos Bilbao <carlos.bil...@amd.com>