forked from Macroassembler-AS/asl-releases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasmrelocs.h
45 lines (33 loc) · 1.67 KB
/
asmrelocs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef _ASMRELOCS_H
#define _ASMRELOCS_H
/* asmrelocs.h */
/****************************************************************************/
/* AS-Portierung */
/* */
/* Verwaltung von Relokationslisten */
/* */
/* Historie: 25. 7.1999 Grundsteinlegung */
/* 8. 8.1999 Reloc-Liste gespeichert */
/* 19. 1.2000 TransferRelocs begonnen */
/* 26. 6.2000 added exports */
/* */
/****************************************************************************/
struct sRelocEntry
{
struct sRelocEntry *Next;
char *Ref;
Byte Add;
};
typedef struct sRelocEntry TRelocEntry, *PRelocEntry;
extern PRelocEntry LastRelocs;
extern PRelocEntry MergeRelocs(PRelocEntry *list1, PRelocEntry *list2,
Boolean Add);
extern void InvertRelocs(PRelocEntry *erg, PRelocEntry *src);
extern void FreeRelocs(PRelocEntry *list);
extern PRelocEntry DupRelocs(PRelocEntry src);
extern void SetRelocs(PRelocEntry List);
extern void TransferRelocs(LargeWord Addr, LongWord Type);
extern void TransferRelocs2(PRelocEntry RelocList, LargeWord Addr, LongWord Type);
extern void SubPCRefReloc(void);
extern void AddExport(char *Name, LargeInt Value, LongWord Flags);
#endif /* _ASMRELOCS_H */