aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2017-07-11 18:04:56 +0000
committerDimitry Andric <dimitry@andric.com>2017-07-11 18:04:56 +0000
commitb9fb12291ac309d96af79801ce449026104949a7 (patch)
tree307eaa5009d4f917473625d9456669673f761394 /openmp
parentae719c5a17854f861bb5b74b0a861d402ba5668c (diff)
downloadllvm-b9fb12291ac309d96af79801ce449026104949a7.zip
llvm-b9fb12291ac309d96af79801ce449026104949a7.tar.gz
llvm-b9fb12291ac309d96af79801ce449026104949a7.tar.bz2
Rename z_Linux_asm.s to z_Linux_asm.S
Summary: On Unix, a .S file is normally an assembly source which must be preprocessed with a C preprocessor, while a .s file is "plain" assembly. The former is handled by the compiler driver (cc), the latter is directly passed to the assembler binary (as). Because z_Linux_asm.s is supposed to be preprocessed, rename it to .S, so it can be automatically picked up correctly by build systems. Reviewers: AndreyChurbanov, emaste, jlpeyton Reviewed By: AndreyChurbanov Subscribers: mgorny, openmp-commits Differential Revision: https://reviews.llvm.org/D35171 llvm-svn: 307680
Diffstat (limited to 'openmp')
-rw-r--r--openmp/runtime/src/CMakeLists.txt2
-rw-r--r--openmp/runtime/src/z_Linux_asm.S (renamed from openmp/runtime/src/z_Linux_asm.s)4
2 files changed, 3 insertions, 3 deletions
diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt
index b0aa487..c4b56db 100644
--- a/openmp/runtime/src/CMakeLists.txt
+++ b/openmp/runtime/src/CMakeLists.txt
@@ -93,7 +93,7 @@ else()
# Unix specific files
libomp_append(LIBOMP_CXXFILES z_Linux_util.cpp)
libomp_append(LIBOMP_CXXFILES kmp_gsupport.cpp)
- libomp_append(LIBOMP_ASMFILES z_Linux_asm.s) # Unix assembly file
+ libomp_append(LIBOMP_ASMFILES z_Linux_asm.S) # Unix assembly file
endif()
libomp_append(LIBOMP_CFILES thirdparty/ittnotify/ittnotify_static.c LIBOMP_USE_ITT_NOTIFY)
libomp_append(LIBOMP_CXXFILES kmp_debugger.cpp LIBOMP_USE_DEBUGGER)
diff --git a/openmp/runtime/src/z_Linux_asm.s b/openmp/runtime/src/z_Linux_asm.S
index c9a5526..c9fbc23 100644
--- a/openmp/runtime/src/z_Linux_asm.s
+++ b/openmp/runtime/src/z_Linux_asm.S
@@ -1,4 +1,4 @@
-// z_Linux_asm.s: - microtasking routines specifically
+// z_Linux_asm.S: - microtasking routines specifically
// written for Intel platforms running Linux* OS
//
@@ -681,7 +681,7 @@ KMP_LABEL(invoke_3):
// -- Machine type P
// mark_description "Intel Corporation";
.ident "Intel Corporation"
-// -- .file "z_Linux_asm.s"
+// -- .file "z_Linux_asm.S"
.data
ALIGN 4