Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit db340bc

Browse files
plt not useful for GNU
1 parent 4e6e28d commit db340bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pal/inc/unixasmmacros.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
#define LOCAL_LABEL(name) L##name
1111
#else
1212
#define C_FUNC(name) name
13+
#ifdef __llvm__
1314
#define EXTERNAL_C_FUNC(name) C_FUNC(name)@plt
15+
#else
16+
#define EXTERNAL_C_FUNC(name) C_FUNC(name)
17+
#endif
1418
#define LOCAL_LABEL(name) .L##name
1519
#endif
1620

0 commit comments

Comments
 (0)