aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-06-28 15:11:06 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:06 +0100
commitc82e52d55bd31eea943c616ad780f27e5ab9dc7a (patch)
treed4be595e9a770393e69a54a4a9233e64894eb088 /tcc.h
parent6763b02abc5e0076b6f5bc0e116205250ef9fbd6 (diff)
downloadtinycc-c82e52d55bd31eea943c616ad780f27e5ab9dc7a.tar.gz
tinycc-c82e52d55bd31eea943c616ad780f27e5ab9dc7a.tar.bz2
tccasm: Implement .pushsection and .popsection
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcc.h b/tcc.h
index 1e2b815..4de48e7 100644
--- a/tcc.h
+++ b/tcc.h
@@ -448,8 +448,8 @@ typedef struct Section {
int nb_hashed_syms; /* used to resize the hash table */
struct Section *link; /* link to another section */
struct Section *reloc; /* corresponding section for relocation, if any */
- struct Section *hash; /* hash table for symbols */
- struct Section *next;
+ struct Section *hash; /* hash table for symbols */
+ struct Section *prev; /* previous section on section stack */
char name[1]; /* section name */
} Section;