diff options
author | Denis Vlasenko | 2008-02-27 18:41:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-02-27 18:41:59 +0000 |
commit | 574f2f43948bb21d6e4187936ba5a5afccba25f6 (patch) | |
tree | 0b39aca564149e5ad30b3cc791228655ff1b1827 /libbb/ptr_to_globals.c | |
parent | fe66a0eca1bfeae0abc0fc1e7d3709f271e05e82 (diff) | |
download | busybox-574f2f43948bb21d6e4187936ba5a5afccba25f6.zip busybox-574f2f43948bb21d6e4187936ba5a5afccba25f6.tar.gz |
*: add optimization barrier to all "G trick" locations
Diffstat (limited to 'libbb/ptr_to_globals.c')
-rw-r--r-- | libbb/ptr_to_globals.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbb/ptr_to_globals.c b/libbb/ptr_to_globals.c new file mode 100644 index 0000000..f8ccbf1 --- /dev/null +++ b/libbb/ptr_to_globals.c @@ -0,0 +1,11 @@ +/* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2008 by Denys Vlasenko <vda.linux@googlemail.com> + * + * Licensed under GPLv2, see file LICENSE in this tarball for details. + */ + +/* We cheat here. It is declared as const ptr in libbb.h, + * but here we make it live in R/W memory */ +struct globals; +struct globals *ptr_to_globals; |