diff options
author | petede <none@none> | 2006-09-15 13:00:46 -0700 |
---|---|---|
committer | petede <none@none> | 2006-09-15 13:00:46 -0700 |
commit | face03d980f55a1b4dd2f07b212696410648b390 (patch) | |
tree | 1841f137c12b7b151b6c2ed9b14bcc93c3d89fd2 /usr/src | |
parent | 5f8e16172ef40e14cf931b329fedb86ea369a42c (diff) | |
download | illumos-gate-face03d980f55a1b4dd2f07b212696410648b390.tar.gz |
6467071 mdb modules are not finding expected static declarations in userland objects
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/Makefile.master | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/Makefile.master b/usr/src/Makefile.master index b6eaf71bce..c846e7c87c 100644 --- a/usr/src/Makefile.master +++ b/usr/src/Makefile.master @@ -279,7 +279,10 @@ V9ABIWARN= CCREGSYM= -Wc,-Qiselect-regsym=0 CCCREGSYM= -Qoption cg -Qiselect-regsym=0 -# prevent static symbols being optimized out +# Prevent the removal of static symbols by the SPARC code generator (cg). +# The x86 code generator (ube) does not remove such symbols and as such +# using this workaround is not applicable for x86. +# CCSTATICSYM= -Wc,-Qassembler-ounrefsym=0 # # generate 32-bit addresses in the v9 kernel. Saves memory. @@ -359,7 +362,7 @@ C99LMODE= $(C99MODE:-xc99%=-Xc99%) # In most places, assignments to these macros should be appended with += # (CPPFLAGS.master allows values to be prepended to CPPFLAGS). -sparc_CFLAGS= $(sparc_XARCH) +sparc_CFLAGS= $(sparc_XARCH) $(CCSTATICSYM) sparcv9_CFLAGS= $(sparcv9_XARCH) -dalign $(CCVERBOSE) $(V9ABIWARN) $(CCREGSYM) \ $(CCSTATICSYM) i386_CFLAGS= $(i386_XARCH) |