OSDN Git Service

* config/m32r/linux.h (STARTFILE_SPEC): Support PIE.
[pf3gnuchains/gcc-fork.git] / gcc / config / m32r / m32r.h
index ca6e86f..4b85a42 100644 (file)
 
 /* Options to pass on to the assembler.  */
 #undef  ASM_SPEC
-#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic:-K PIC} %{fPIC:-K PIC}"
+#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic|fpie:-K PIC} %{fPIC|fPIE:-K PIC}"
 
 #define LINK_SPEC "%{v} %(link_cpu) %(relax)"