Module Name:    src
Committed By:   christos
Date:           Sun Jul 15 16:35:47 UTC 2018

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/aarch64: aarch64-netbsd.h

Log Message:
There is no more SUBTARGET_EXTRA_SPECS, so hijack the EXTRA_SPECS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h:1.1 src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h:1.2
--- src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h:1.1	Sat Jul 14 19:47:32 2018
+++ src/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64-netbsd.h	Sun Jul 15 12:35:47 2018
@@ -20,10 +20,6 @@
 #ifndef GCC_AARCH64_NETBSD_H
 #define GCC_AARCH64_NETBSD_H
 
-#undef SUBTARGET_EXTRA_SPECS
-#define SUBTARGET_EXTRA_SPECS				\
-  NETBSD_SUBTARGET_EXTRA_SPECS
-
 #define TARGET_LINKER_BIG_EMULATION "aarch64nbsdb"
 #define TARGET_LINKER_LITTLE_EMULATION "aarch64nbsd"
 
@@ -36,6 +32,8 @@
 #undef  SUBTARGET_EXTRA_LINK_SPEC
 #define SUBTARGET_EXTRA_LINK_SPEC " -m" TARGET_LINKER_EMULATION
 
+#define NETBSD_ENTRY_POINT "__start"
+
 #define NETBSD_TARGET_LINK_SPEC  "%{h*}			\
    -X %{mbig-endian:-EB -m " TARGET_LINKER_BIG_EMULATION "} \
    %{mlittle-endian:-EL -m " TARGET_LINKER_LITTLE_EMULATION "} \
@@ -96,4 +94,9 @@
 #define MCOUNT_NAME ".mcount"
 #endif
 
+#undef EXTRA_SPECS
+#define EXTRA_SPECS \
+  { "asm_cpu_spec",             ASM_CPU_SPEC }, \
+  NETBSD_SUBTARGET_EXTRA_SPECS
+
 #endif  /* GCC_AARCH64_NETBSD_H */

Reply via email to