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
This commit is contained in:
Dimitry Andric 2017-07-11 18:04:56 +00:00
parent ae719c5a17
commit b9fb12291a
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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