873 ZNODEFAULTLIB= -znodefaultlib
874 ZNODEFS= -znodefs
875 ZNODELETE= -znodelete
876 ZNODLOPEN= -znodlopen
877 ZNODUMP= -znodump
878 ZNOLAZYLOAD= -znolazyload
879 ZNOLDYNSYM= -znoldynsym
880 ZNORELOC= -znoreloc
881 ZNOVERSION= -znoversion
882 ZRECORD= -zrecord
883 ZREDLOCSYM= -zredlocsym
884 ZTEXT= -ztext
885 ZVERBOSE= -zverbose
886
887 GSHARED= -G
888 CCMT= -mt
889
890 # Handle different PIC models on different ISAs
891 # (May be overridden by lower-level Makefiles)
892
893 sparc_C_PICFLAGS = -K pic
894 sparcv9_C_PICFLAGS = -K pic
895 i386_C_PICFLAGS = -K pic
896 amd64_C_PICFLAGS = -K pic
897 C_PICFLAGS = $($(MACH)_C_PICFLAGS)
898 C_PICFLAGS64 = $($(MACH64)_C_PICFLAGS)
899
900 sparc_C_BIGPICFLAGS = -K PIC
901 sparcv9_C_BIGPICFLAGS = -K PIC
902 i386_C_BIGPICFLAGS = -K PIC
903 amd64_C_BIGPICFLAGS = -K PIC
904 C_BIGPICFLAGS = $($(MACH)_C_BIGPICFLAGS)
905 C_BIGPICFLAGS64 = $($(MACH64)_C_BIGPICFLAGS)
906
907 # CC requires there to be no space between '-K' and 'pic' or 'PIC'.
908 sparc_CC_PICFLAGS = -Kpic
909 sparcv9_CC_PICFLAGS = -KPIC
910 i386_CC_PICFLAGS = -Kpic
911 amd64_CC_PICFLAGS = -Kpic
912 CC_PICFLAGS = $($(MACH)_CC_PICFLAGS)
913 CC_PICFLAGS64 = $($(MACH64)_CC_PICFLAGS)
914
915 AS_PICFLAGS= $(C_PICFLAGS)
916 AS_BIGPICFLAGS= $(C_BIGPICFLAGS)
917
918 #
919 # Default label for CTF sections
920 #
921 CTFCVTFLAGS= -i -L VERSION
922
923 #
924 # Override to pass module-specific flags to ctfmerge. Currently used only by
925 # krtld to turn on fuzzy matching, and source-level debugging to inhibit
926 # stripping.
927 #
928 CTFMRGFLAGS=
929
930 CTFCONVERT_O = $(CTFCONVERT) $(CTFCVTFLAGS) $@
931
932 # Rules (normally from make.rules) and macros which are used for post
933 # processing files. Normally, these do stripping of the comment section
934 # automatically.
935 # RELEASE_CM: Should be editted to reflect the release.
936 # POST_PROCESS_O: Post-processing for `.o' files.
|
873 ZNODEFAULTLIB= -znodefaultlib
874 ZNODEFS= -znodefs
875 ZNODELETE= -znodelete
876 ZNODLOPEN= -znodlopen
877 ZNODUMP= -znodump
878 ZNOLAZYLOAD= -znolazyload
879 ZNOLDYNSYM= -znoldynsym
880 ZNORELOC= -znoreloc
881 ZNOVERSION= -znoversion
882 ZRECORD= -zrecord
883 ZREDLOCSYM= -zredlocsym
884 ZTEXT= -ztext
885 ZVERBOSE= -zverbose
886
887 GSHARED= -G
888 CCMT= -mt
889
890 # Handle different PIC models on different ISAs
891 # (May be overridden by lower-level Makefiles)
892
893 sparc_C_PICFLAGS = -fpic
894 sparcv9_C_PICFLAGS = -fpic
895 i386_C_PICFLAGS = -fpic
896 amd64_C_PICFLAGS = -fpic
897 C_PICFLAGS = $($(MACH)_C_PICFLAGS)
898 C_PICFLAGS64 = $($(MACH64)_C_PICFLAGS)
899
900 sparc_C_BIGPICFLAGS = -fPIC
901 sparcv9_C_BIGPICFLAGS = -fPIC
902 i386_C_BIGPICFLAGS = -fPIC
903 amd64_C_BIGPICFLAGS = -fPIC
904 C_BIGPICFLAGS = $($(MACH)_C_BIGPICFLAGS)
905 C_BIGPICFLAGS64 = $($(MACH64)_C_BIGPICFLAGS)
906
907 # CC requires there to be no space between '-K' and 'pic' or 'PIC'.
908 # and does not support -f
909 sparc_CC_PICFLAGS = -_cc=-Kpic -_gcc=-fpic
910 sparcv9_CC_PICFLAGS = -_cc=-KPIC -_gcc=-fPIC
911 i386_CC_PICFLAGS = -_cc=-Kpic -_gcc=-fpic
912 amd64_CC_PICFLAGS = -_cc=-Kpic -_gcc=-fpic
913 CC_PICFLAGS = $($(MACH)_CC_PICFLAGS)
914 CC_PICFLAGS64 = $($(MACH64)_CC_PICFLAGS)
915
916 AS_PICFLAGS= -K pic
917 AS_BIGPICFLAGS= -K PIC
918
919 #
920 # Default label for CTF sections
921 #
922 CTFCVTFLAGS= -i -L VERSION
923
924 #
925 # Override to pass module-specific flags to ctfmerge. Currently used only by
926 # krtld to turn on fuzzy matching, and source-level debugging to inhibit
927 # stripping.
928 #
929 CTFMRGFLAGS=
930
931 CTFCONVERT_O = $(CTFCONVERT) $(CTFCVTFLAGS) $@
932
933 # Rules (normally from make.rules) and macros which are used for post
934 # processing files. Normally, these do stripping of the comment section
935 # automatically.
936 # RELEASE_CM: Should be editted to reflect the release.
937 # POST_PROCESS_O: Post-processing for `.o' files.
|