Add support for indirect functions as externals.

Add link support to use indirect functions defined in external modules
This commit is contained in:
Thomas Preud'homme
2010-06-24 20:53:42 +02:00
parent 82c5edb31c
commit bcc9137a10
3 changed files with 14 additions and 7 deletions

1
elf.h
View File

@ -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 */