[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/libc/glibc/glibc-2.22/sysdeps/sparc/Makefile b/ap/libc/glibc/glibc-2.22/sysdeps/sparc/Makefile
new file mode 100644
index 0000000..31aaeae
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/sysdeps/sparc/Makefile
@@ -0,0 +1,24 @@
+# The Sparc `long double' is a distinct type we support.
+long-double-fcts = yes
+
+pie-ccflag = -fPIE
+
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif
+
+ifeq ($(subdir),gmon)
+sysdep_routines += sparc-mcount
+endif
+
+ifeq ($(subdir),db2)
+CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1
+endif
+
+ifeq ($(subdir),csu)
+CPPFLAGS-crti.S += -fPIC
+CPPFLAGS-crtn.S += -fPIC
+endif
+
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os += -fPIC