aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2010-06-24 20:53:42 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2010-08-09 20:20:09 +0200
commitbcc9137a1004682ac58914c7445427cb23ceba88 (patch)
treee54446541208b15307119629e34ee6b6da696e5b /elf.h
parent82c5edb31cd0bb2ee699992c45557006f1681e0e (diff)
downloadtinycc-bcc9137a1004682ac58914c7445427cb23ceba88.tar.gz
tinycc-bcc9137a1004682ac58914c7445427cb23ceba88.tar.bz2
Add support for indirect functions as externals.
Add link support to use indirect functions defined in external modules
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index ebb9a8b..6c08f3d 100644
--- a/elf.h
+++ b/elf.h
@@ -436,6 +436,7 @@ typedef struct
#define STT_SECTION 3 /* Symbol associated with a section */
#define STT_FILE 4 /* Symbol's name is file name */
#define STT_NUM 5 /* Number of defined types. */
+#define STT_GNU_IFUNC 10 /* Symbol is a indirect code object */
#define STT_LOOS 11 /* Start of OS-specific */
#define STT_HIOS 12 /* End of OS-specific */
#define STT_LOPROC 13 /* Start of processor-specific */