This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, csky] Support -profile


Hi, 
	I have submitted a patch to support ‘-profile' for C-SKY


Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 266012)
+++ gcc/ChangeLog	(working copy)
@@ -1,5 +1,9 @@
 2018-11-11  Xianmiao Qu  <xianmiao_qu@c-sky.com>
 
+	* config/csky/csky-linux-elf.h (CC1_SPEC): Support -profile.
+
+2018-11-11  Xianmiao Qu  <xianmiao_qu@c-sky.com>
+
 	* config/csky/csky.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
 
 2018-11-11  Richard Biener  <rguenther@suse.de>
Index: gcc/config/csky/csky-linux-elf.h
===================================================================
--- gcc/config/csky/csky-linux-elf.h	(revision 266011)
+++ gcc/config/csky/csky-linux-elf.h	(working copy)
@@ -35,6 +35,7 @@
 #define CC1_SPEC  \
   "%{EB:-EB}	  \
    %{EL:-EL}	  \
+   %{profile:-p}  \
   "
 
 #undef ASM_SPEC




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]