diff ticoff/intstruct.h @ 127:a314d6aa9bf1

tiobjd: section disasm mode hinting rethought
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 05 Apr 2014 20:00:46 +0000
parents 2c6b1319383b
children
line wrap: on
line diff
--- a/ticoff/intstruct.h	Sat Apr 05 19:14:43 2014 +0000
+++ b/ticoff/intstruct.h	Sat Apr 05 20:00:46 2014 +0000
@@ -15,13 +15,14 @@
 	unsigned	nsymbols;
 	struct internal_syment **sorted_symbols;
 	struct internal_reloc *int_relocs;
-	int		sectype_hint;
+	int		disasm_mode;
 	struct hint	*hints;
 };
 
-#define	SECTYPE_CODE	1
-#define	SECTYPE_DATA	2
-#define	SECTYPE_BSS	3
+#define	DISASM_MODE_UNKNOWN	0
+#define	DISASM_MODE_CODE	1
+#define	DISASM_MODE_DATA	2
+#define	DISASM_MODE_BSS		3
 
 struct internal_syment {
 	unsigned	number;