8284661: Reproducible assembly builds without relative linking

Reviewed-by: ihse
This commit is contained in:
Andrew Leonard 2022-04-19 08:29:38 +00:00
parent c5e9719c40
commit ab83bceda1
39 changed files with 82 additions and 87 deletions

View File

@ -358,6 +358,20 @@ define SetupCompileNativeFileBody
# Compile as preprocessed assembler file
$1_FLAGS := $(BASIC_ASFLAGS) $$($1_BASE_ASFLAGS)
$1_COMPILER := $(AS)
# gcc assembly files must contain an appropriate relative .file
# path for reproducible builds.
ifeq ($(TOOLCHAIN_TYPE), gcc)
# If no absolute paths allowed, work out relative source file path
# for assembly .file substitution, otherwise use full file path
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT), false)
$1_REL_ASM_SRC := $$(call RelativePath, $$($1_FILE), $(WORKSPACE_ROOT))
else
$1_REL_ASM_SRC := $$($1_FILE)
endif
$1_FLAGS := $$($1_FLAGS) -DASSEMBLY_SRC_FILE='"$$($1_REL_ASM_SRC)"' \
-include $(TOPDIR)/make/data/autoheaders/assemblyprefix.h
endif
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
# Compile as a C++ or Objective-C++ file
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \
@ -1149,19 +1163,6 @@ define SetupNativeCompilationBody
endif
endif
# Debuginfo of ASM objects always embeds the absolute object path,
# as ASM debuginfo paths do not get prefix mapped.
# So for reproducible builds use relative paths to ensure a reproducible
# debuginfo and libs, when creating debug symbols.
ifeq ($$(ENABLE_REPRODUCIBLE_BUILD), true)
ifeq ($(call isTargetOs, linux), true)
ifeq ($$($1_COMPILE_WITH_DEBUG_SYMBOLS), true)
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$$($1_REAL_MAPFILE) $$($1_VARDEPS_FILE)

View File

@ -0,0 +1,29 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
// ASSEMBLY_SRC_FILE gets replaced by relative or absolute file path
// in NativeCompilation.gmk for gcc tooling on Linux. This ensures a
// reproducible object file through a predictable value of the STT_FILE
// symbol, and subsequently a reproducible .debuginfo.
.file ASSEMBLY_SRC_FILE

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_acos.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_acos2_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_asin.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_asin2_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_atan2.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_atan22_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_atan.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_atan2_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_cbrt.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_cbrt1_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_cos.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_cos2_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_cosh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_cosh1_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_exp.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_exp1_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_expm1.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_expm14_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_hypot.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_hypot2_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_log10.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_log102_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_log1p.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_log1p4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_log.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_log1_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_pow.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_pow2_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_sin.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_sin2_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_sinh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_sinh1_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_tan.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_tan1_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_d_tanh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_tanh4_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_acos.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_acosf16_ha_z0_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_asin.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_asinf8_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_atan2.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_atan2f4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_atan.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_atanf8_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_cbrt.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_cbrtf4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_cos.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_cosf8_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_cosh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_coshf16_ha_z0_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_exp.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_expf4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_expm1.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_expm1f4_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_hypot.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_hypotf8_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_log10.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_log10f4_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_log1p.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_log1pf4_ha_e9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_log.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_logf4_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_pow.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_powf16_ha_z0_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_sin.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_sinf16_ha_z0_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_sinh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_sinhf4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_tan.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_tanf4_ha_ex_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Intel Corporation. All rights reserved.
* Copyright (c) 2018, 2022, Intel Corporation. All rights reserved.
* Intel Short Vector Math Library (SVML) Source Code
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -28,7 +28,6 @@
#include "globals_vectorApiSupport_linux.S.inc"
#ifdef __VECTOR_API_MATH_INTRINSICS_LINUX
# -- Machine type EM64t
.file "svml_s_tanh.c"
.text
..TXTST0:
.L_2__routine_start___jsvml_tanhf4_ha_l9_0:

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -48,6 +48,7 @@ public class AbsPathsInImage {
// JTREG=JAVA_OPTIONS=-Djdk.test.build.AbsPathInImage.dir=/path/to/dir
public static final String DIR_PROPERTY = "jdk.test.build.AbsPathsInImage.dir";
private static final boolean IS_WINDOWS = System.getProperty("os.name").toLowerCase().contains("windows");
private static final boolean IS_LINUX = System.getProperty("os.name").toLowerCase().contains("linux");
private boolean matchFound = false;
@ -164,7 +165,7 @@ public class AbsPathsInImage {
String fileName = file.toString();
if (Files.isSymbolicLink(file)) {
return super.visitFile(file, attrs);
} else if (fileName.endsWith(".debuginfo") || fileName.endsWith(".pdb")) {
} else if ((fileName.endsWith(".debuginfo") && !IS_LINUX) || fileName.endsWith(".pdb")) {
// Do nothing
} else if (fileName.endsWith(".zip")) {
scanZipFile(file, searchPatterns);