Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
cac79fe8
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cac79fe8
编写于
6月 20, 2012
作者:
D
dcubed
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
8721b0e0
ccc47565
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
48 addition
and
25 deletion
+48
-25
make/solaris/makefiles/add_gnu_debuglink.make
make/solaris/makefiles/add_gnu_debuglink.make
+5
-2
make/solaris/makefiles/defs.make
make/solaris/makefiles/defs.make
+8
-0
make/solaris/makefiles/dtrace.make
make/solaris/makefiles/dtrace.make
+30
-21
make/solaris/makefiles/fix_empty_sec_hdr_flags.make
make/solaris/makefiles/fix_empty_sec_hdr_flags.make
+5
-2
未找到文件。
make/solaris/makefiles/add_gnu_debuglink.make
浏览文件 @
cac79fe8
...
@@ -24,8 +24,11 @@
...
@@ -24,8 +24,11 @@
# Rules to build add_gnu_debuglink, used by vm.make on Solaris
# Rules to build add_gnu_debuglink, used by vm.make on Solaris
GENERATED
=
../generated
# Allow $(ADD_GNU_DEBUGLINK) to be called from any directory.
ADD_GNU_DEBUGLINK
=
$(GENERATED)
/add_gnu_debuglink
# We don't set or use the GENERATED macro to avoid affecting
# other HotSpot Makefiles.
TOPDIR
=
$(
shell
echo
`
pwd
`
)
ADD_GNU_DEBUGLINK
=
$(TOPDIR)
/../generated/add_gnu_debuglink
ADD_GNU_DEBUGLINK_DIR
=
$(GAMMADIR)
/src/os/solaris/add_gnu_debuglink
ADD_GNU_DEBUGLINK_DIR
=
$(GAMMADIR)
/src/os/solaris/add_gnu_debuglink
ADD_GNU_DEBUGLINK_SRC
=
$(ADD_GNU_DEBUGLINK_DIR)
/add_gnu_debuglink.c
ADD_GNU_DEBUGLINK_SRC
=
$(ADD_GNU_DEBUGLINK_DIR)
/add_gnu_debuglink.c
...
...
make/solaris/makefiles/defs.make
浏览文件 @
cac79fe8
...
@@ -203,10 +203,18 @@ ifeq ($(JVM_VARIANT_SERVER),true)
...
@@ -203,10 +203,18 @@ ifeq ($(JVM_VARIANT_SERVER),true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.diz
ifeq
($(ARCH_DATA_MODEL),32)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_db.diz
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_dtrace.diz
endif
else
else
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.debuginfo
ifeq
($(ARCH_DATA_MODEL),32)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_dtrace.debuginfo
endif
endif
endif
endif
endif
endif
endif
...
...
make/solaris/makefiles/dtrace.make
浏览文件 @
cac79fe8
...
@@ -94,23 +94,24 @@ ISA = $(subst i386,i486,$(shell isainfo -n))
...
@@ -94,23 +94,24 @@ ISA = $(subst i386,i486,$(shell isainfo -n))
# Making 64/libjvm_db.so: 64-bit version of libjvm_db.so which handles 32-bit libjvm.so
# Making 64/libjvm_db.so: 64-bit version of libjvm_db.so which handles 32-bit libjvm.so
ifneq
("${ISA}","${BUILDARCH}")
ifneq
("${ISA}","${BUILDARCH}")
XLIBJVM_DB
=
64/
$(LIBJVM_DB)
XLIBJVM_DIR
=
64
XLIBJVM_DB_G
=
64/
$(LIBJVM_DB_G)
XLIBJVM_DB
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DB)
XLIBJVM_DTRACE
=
64/
$(LIBJVM_DTRACE)
XLIBJVM_DB_G
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DB_G)
XLIBJVM_DTRACE_G
=
64/
$(LIBJVM_DTRACE_G)
XLIBJVM_DTRACE
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DTRACE)
XLIBJVM_DTRACE_G
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DTRACE_G)
XLIBJVM_DB_DEBUGINFO
=
64/
$(LIBJVM_DB_DEBUGINFO)
XLIBJVM_DB_DIZ
=
64/
$(LIBJVM_DB_DIZ)
XLIBJVM_DB_DEBUGINFO
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DB_DEBUGINFO)
XLIBJVM_DB_G_DEBUGINFO
=
64/
$(LIBJVM_DB_G_DEBUGINFO)
XLIBJVM_DB_DIZ
=
$(XLIBJVM_DIR)
/
$(LIBJVM_DB_DIZ)
XLIBJVM_DB_G_DIZ
=
64/
$(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
$(ISA)
)
-D
$(TYPE)
-I
.
-I
$(GENERATED)
\
$(SHARED_FLAG)
$(LFLAGS_JVM_DB)
-o
$@
$(DTRACE_SRCDIR)
/
$(JVM_DB)
.c
-lc
$(SHARED_FLAG)
$(LFLAGS_JVM_DB)
-o
$@
$(DTRACE_SRCDIR)
/
$(JVM_DB)
.c
-lc
[
-f
$(XLIBJVM_DB_G)
]
||
{
ln
-s
$(LIBJVM_DB)
$(XLIBJVM_DB_G)
;
}
[
-f
$(XLIBJVM_DB_G)
]
||
{
ln
-s
$(LIBJVM_DB)
$(XLIBJVM_DB_G)
;
}
...
@@ -124,8 +125,10 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
...
@@ -124,8 +125,10 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
$(QUIETLY)
$(OBJCOPY)
--only-keep-debug
$@
$(XLIBJVM_DB_DEBUGINFO)
$(QUIETLY)
$(OBJCOPY)
--only-keep-debug
$@
$(XLIBJVM_DB_DEBUGINFO)
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
# $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(XLIBJVM_DB_DEBUGINFO) $@
# $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DB_DEBUGINFO) $(LIBJVM_DB) ;
$(QUIETLY)
$(ADD_GNU_DEBUGLINK)
$(XLIBJVM_DB_DEBUGINFO)
$@
# Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not
# in the link name:
(
cd
$(XLIBJVM_DIR)
&&
$(ADD_GNU_DEBUGLINK)
$(LIBJVM_DB_DEBUGINFO)
$(LIBJVM_DB)
)
ifeq
($(STRIP_POLICY),all_strip)
ifeq
($(STRIP_POLICY),all_strip)
$(QUIETLY)
$(STRIP)
$@
$(QUIETLY)
$(STRIP)
$@
else
else
...
@@ -136,7 +139,9 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
...
@@ -136,7 +139,9 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
endif
endif
[
-f
$(XLIBJVM_DB_G_DEBUGINFO)
]
||
{
ln
-s
$(XLIBJVM_DB_DEBUGINFO)
$(XLIBJVM_DB_G_DEBUGINFO);
}
[
-f
$(XLIBJVM_DB_G_DEBUGINFO)
]
||
{
ln
-s
$(XLIBJVM_DB_DEBUGINFO)
$(XLIBJVM_DB_G_DEBUGINFO);
}
ifeq
($(ZIP_DEBUGINFO_FILES),1)
ifeq
($(ZIP_DEBUGINFO_FILES),1)
$(ZIPEXE)
-q
-y
$(XLIBJVM_DB_DIZ)
$(XLIBJVM_DB_DEBUGINFO)
$(XLIBJVM_DB_G_DEBUGINFO)
# Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not
# in the archived name:
(
cd
$(XLIBJVM_DIR)
&&
$(ZIPEXE)
-q
-y
$(LIBJVM_DB_DIZ)
$(LIBJVM_DB_DEBUGINFO)
$(LIBJVM_DB_G_DEBUGINFO)
)
$(RM)
$(XLIBJVM_DB_DEBUGINFO)
$(XLIBJVM_DB_G_DEBUGINFO)
$(RM)
$(XLIBJVM_DB_DEBUGINFO)
$(XLIBJVM_DB_G_DEBUGINFO)
[
-f
$(XLIBJVM_DB_G_DIZ)
]
||
{
ln
-s
$(XLIBJVM_DB_DIZ)
$(XLIBJVM_DB_G_DIZ);
}
[
-f
$(XLIBJVM_DB_G_DIZ)
]
||
{
ln
-s
$(XLIBJVM_DB_DIZ)
$(XLIBJVM_DB_G_DIZ);
}
endif
endif
...
@@ -144,7 +149,7 @@ endif
...
@@ -144,7 +149,7 @@ endif
$(XLIBJVM_DTRACE)
:
$(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE)
$(XLIBJVM_DTRACE)
:
$(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE)
@
echo
Making
$@
@
echo
Making
$@
$(QUIETLY)
mkdir
-p
64/
;
\
$(QUIETLY)
mkdir
-p
$(XLIBJVM_DIR)
;
\
$(CC)
$(SYMFLAG)
$
(
ARCHFLAG/
$(ISA)
)
-D
$(TYPE)
-I
.
\
$(CC)
$(SYMFLAG)
$
(
ARCHFLAG/
$(ISA)
)
-D
$(TYPE)
-I
.
\
$(SHARED_FLAG)
$(LFLAGS_JVM_DTRACE)
-o
$@
$(DTRACE_SRCDIR)
/
$(JVM_DTRACE)
.c
-lc
-lthread
-ldoor
$(SHARED_FLAG)
$(LFLAGS_JVM_DTRACE)
-o
$@
$(DTRACE_SRCDIR)
/
$(JVM_DTRACE)
.c
-lc
-lthread
-ldoor
[
-f
$(XLIBJVM_DTRACE_G)
]
||
{
ln
-s
$(LIBJVM_DTRACE)
$(XLIBJVM_DTRACE_G)
;
}
[
-f
$(XLIBJVM_DTRACE_G)
]
||
{
ln
-s
$(LIBJVM_DTRACE)
$(XLIBJVM_DTRACE_G)
;
}
...
@@ -153,8 +158,10 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
...
@@ -153,8 +158,10 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
$(QUIETLY)
$(FIX_EMPTY_SEC_HDR_FLAGS)
$@
$(QUIETLY)
$(FIX_EMPTY_SEC_HDR_FLAGS)
$@
$(QUIETLY)
$(OBJCOPY)
--only-keep-debug
$@
$(XLIBJVM_DTRACE_DEBUGINFO)
$(QUIETLY)
$(OBJCOPY)
--only-keep-debug
$@
$(XLIBJVM_DTRACE_DEBUGINFO)
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(XLIBJVM_DTRACE_DEBUGINFO) $@
# $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DTRACE_DEBUGINFO) $(LIBJVM_DTRACE) ;
$(QUIETLY)
$(ADD_GNU_DEBUGLINK)
$(XLIBJVM_DTRACE_DEBUGINFO)
$@
# Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not
# in the link name:
(
cd
$(XLIBJVM_DIR)
&&
$(ADD_GNU_DEBUGLINK)
$(LIBJVM_DTRACE_DEBUGINFO)
$(LIBJVM_DTRACE)
)
ifeq
($(STRIP_POLICY),all_strip)
ifeq
($(STRIP_POLICY),all_strip)
$(QUIETLY)
$(STRIP)
$@
$(QUIETLY)
$(STRIP)
$@
else
else
...
@@ -165,7 +172,9 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
...
@@ -165,7 +172,9 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
endif
endif
[
-f
$(XLIBJVM_DTRACE_G_DEBUGINFO)
]
||
{
ln
-s
$(XLIBJVM_DTRACE_DEBUGINFO)
$(XLIBJVM_DTRACE_G_DEBUGINFO);
}
[
-f
$(XLIBJVM_DTRACE_G_DEBUGINFO)
]
||
{
ln
-s
$(XLIBJVM_DTRACE_DEBUGINFO)
$(XLIBJVM_DTRACE_G_DEBUGINFO);
}
ifeq
($(ZIP_DEBUGINFO_FILES),1)
ifeq
($(ZIP_DEBUGINFO_FILES),1)
$(ZIPEXE)
-q
-y
$(XLIBJVM_DTRACE_DIZ)
$(XLIBJVM_DTRACE_DEBUGINFO)
$(XLIBJVM_DTRACE_G_DEBUGINFO)
# Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not
# in the archived name:
(
cd
$(XLIBJVM_DIR)
&&
$(ZIPEXE)
-q
-y
$(LIBJVM_DTRACE_DIZ)
$(LIBJVM_DTRACE_DEBUGINFO)
$(LIBJVM_DTRACE_G_DEBUGINFO)
)
$(RM)
$(XLIBJVM_DTRACE_DEBUGINFO)
$(XLIBJVM_DTRACE_G_DEBUGINFO)
$(RM)
$(XLIBJVM_DTRACE_DEBUGINFO)
$(XLIBJVM_DTRACE_G_DEBUGINFO)
[
-f
$(XLIBJVM_DTRACE_G_DIZ)
]
||
{
ln
-s
$(XLIBJVM_DTRACE_DIZ)
$(XLIBJVM_DTRACE_G_DIZ);
}
[
-f
$(XLIBJVM_DTRACE_G_DIZ)
]
||
{
ln
-s
$(XLIBJVM_DTRACE_DIZ)
$(XLIBJVM_DTRACE_G_DIZ);
}
endif
endif
...
...
make/solaris/makefiles/fix_empty_sec_hdr_flags.make
浏览文件 @
cac79fe8
...
@@ -24,8 +24,11 @@
...
@@ -24,8 +24,11 @@
# Rules to build fix_empty_sec_hdr_flags, used by vm.make on Solaris
# Rules to build fix_empty_sec_hdr_flags, used by vm.make on Solaris
GENERATED
=
../generated
# Allow $(FIX_EMPTY_SEC_HDR_FLAGS) to be called from any directory.
FIX_EMPTY_SEC_HDR_FLAGS
=
$(GENERATED)
/fix_empty_sec_hdr_flags
# We don't set or use the GENERATED macro to avoid affecting
# other HotSpot Makefiles.
TOPDIR
=
$(
shell
echo
`
pwd
`
)
FIX_EMPTY_SEC_HDR_FLAGS
=
$(TOPDIR)
/../generated/fix_empty_sec_hdr_flags
FIX_EMPTY_SEC_HDR_FLAGS_DIR
=
$(GAMMADIR)
/src/os/solaris/fix_empty_sec_hdr_flags
FIX_EMPTY_SEC_HDR_FLAGS_DIR
=
$(GAMMADIR)
/src/os/solaris/fix_empty_sec_hdr_flags
FIX_EMPTY_SEC_HDR_FLAGS_SRC
=
$(FIX_EMPTY_SEC_HDR_FLAGS_DIR)
/fix_empty_sec_hdr_flags.c
FIX_EMPTY_SEC_HDR_FLAGS_SRC
=
$(FIX_EMPTY_SEC_HDR_FLAGS_DIR)
/fix_empty_sec_hdr_flags.c
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录