OSDN Git Service

* config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
[pf3gnuchains/gcc-fork.git] / gcc / config / netbsd-elf.h
index 4846ba6..cb38b93 100644 (file)
@@ -53,7 +53,9 @@ Boston, MA 02111-1307, USA.  */
        %{p:gcrt0%O%s}          \
        %{!p:crt0%O%s}}}                \
    %:if-exists(crti%O%s)       \
-   %{!shared:crtbegin%O%s} %{shared:crtbeginS%O%s}"
+   %{static:%:if-exists-else(crtbeginT%O%s crtbegin%O%s)} \
+   %{!static: \
+     %{!shared:crtbegin%O%s} %{shared:crtbeginS%O%s}}"
 
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC NETBSD_STARTFILE_SPEC