summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/image
diff options
context:
space:
mode:
authorMichael Brown2006-04-24 20:31:37 +0200
committerMichael Brown2006-04-24 20:31:37 +0200
commit832e86246b37c78466a5a30159bed48ed59eb811 (patch)
treec931cdff0738445ba4b5d432784ac11af323b35a /src/arch/i386/image
parent(librm_base-1b) is already an offset; no need to apply OFFSET(). (diff)
downloadipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.gz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.xz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.zip
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
Diffstat (limited to 'src/arch/i386/image')
-rw-r--r--src/arch/i386/image/nbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/image/nbi.c b/src/arch/i386/image/nbi.c
index f5d9e382..7a2db255 100644
--- a/src/arch/i386/image/nbi.c
+++ b/src/arch/i386/image/nbi.c
@@ -404,7 +404,7 @@ static int nbi_boot ( void *context ) {
}
/** Declaration of the NBI image format */
-static struct image nbi_image __image = {
+struct image nbi_image __image = {
.name = "NBI",
.probe = nbi_probe,
.load = nbi_load,