yasm/libyasm
mackyle 563a03be81
libyasm/section.c: support gas .private_extern directive (#138)
Support for "private_extern" was previously added for nasm mode via
a declaration like so:

    global foo:private_extern
    foo:
             ; codes

However, that same code in gas format looks like this:

    .private_extern foo
    foo:
             # codes

Add support for the gas version of "private_extern" syntax by
supporting a new gas `.private_extern` directive that actually
has exactly the same semantics as the nasm `global ...:private_extern`
directive.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
2023-05-12 21:20:12 -07:00
..
tests Fix allocator mismatch (#107) 2023-05-12 21:19:37 -07:00
arch.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
assocdat.c Optimize matching loops. 2013-08-07 22:15:20 -07:00
assocdat.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bc-align.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bc-data.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bc-incbin.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bc-org.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bc-reserve.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bitvect.c Fix allocator mismatch (#107) 2023-05-12 21:19:37 -07:00
bitvect.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bytecode.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
bytecode.h Add missing YASM_LIB_DECL declarations. 2014-08-10 12:33:52 -07:00
cmake-module.c Make cmake module search case-insensitive. 2014-10-05 09:48:51 -07:00
CMakeLists.txt Allow building of static executables with cmake. 2014-08-10 23:18:46 -07:00
compat-queue.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
coretype.h Revert optimizations added in #68 (#146) 2020-05-03 23:36:45 -07:00
dbgfmt.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
errwarn.c Fix test failure introduced in 51af4082cc (#145) 2023-05-12 21:14:32 -07:00
errwarn.h Added -Wno-segreg-in-64bit. 2015-11-06 20:15:04 -08:00
expr.c Revert optimizations added in #68 (#146) 2020-05-03 23:36:45 -07:00
expr.h Add missing YASM_LIB_DECL declarations. 2014-08-10 12:33:52 -07:00
file.c Fix allocator mismatch (#107) 2023-05-12 21:19:37 -07:00
file.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
floatnum.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
floatnum.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
genmodule.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
hamt.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
hamt.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
insn.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
insn.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
intnum.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
intnum.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
inttree.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
inttree.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
linemap.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
linemap.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
listfmt.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
Makefile.inc Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
md5.c Fix clang warning: 2011-09-24 16:41:08 +03:00
md5.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
mergesort.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
module.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
module.in Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
objfmt.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
parser.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
phash.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
phash.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
preproc.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
section.c libyasm/section.c: support gas .private_extern directive (#138) 2023-05-12 21:20:12 -07:00
section.h Revert optimizations added in #68 (#146) 2020-05-03 23:36:45 -07:00
strcasecmp.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
strsep.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
symrec.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
symrec.h Add missing YASM_LIB_DECL declarations. 2014-08-10 12:33:52 -07:00
valparam.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
valparam.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
value.c Revert optimizations added in #68 (#146) 2020-05-03 23:36:45 -07:00
value.h Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
xmalloc.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00
xstrdup.c Remove $Id$ and RCSID() usage. 2011-08-19 10:43:16 -07:00