Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1aad08673a
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (35 sloc) 1.024 kB
/* $VER: vlink vobj.h V0.12 (14.11.08)
*
* This file is part of vlink, a portable linker for multiple
* object formats.
* Copyright (c) 1997-2008 Frank Wille
*
* vlink is freeware and part of the portable and retargetable ANSI C
* compiler vbcc, copyright (c) 1995-2008 by Volker Barthelmann.
* vlink may be freely redistributed as long as no modifications are
* made and nothing is charged for it. Non-commercial usage is allowed
* without any restrictions.
* EVERY PRODUCT OR PROGRAM DERIVED DIRECTLY FROM MY SOURCE MAY NOT BE
* SOLD COMMERCIALLY WITHOUT PERMISSION FROM THE AUTHOR.
*/
/* symbol types */
#define LABSYM 1
#define IMPORT 2
#define EXPRESSION 3
/* symbol flags */
#define TYPE(sym) ((sym)->flags&7)
#define TYPE_UNKNOWN 0
#define TYPE_OBJECT 1
#define TYPE_FUNCTION 2
#define TYPE_SECTION 3
#define TYPE_FILE 4
#define EXPORT 8
#define INEVAL 16
#define COMMON 32
#define WEAK 64
typedef lword taddr;
struct vobj_symbol {
char *name;
int type,flags,sec,size;
taddr val;
};
Jump to Line
Something went wrong with that request. Please try again.