Subversion Repositories Kolibri OS

Rev

Rev 5222 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5222 Rev 6324
Line 1... Line 1...
1
/* seh pdata/xdata coff object file format
1
/* seh pdata/xdata coff object file format
2
   Copyright 2009, 2010, 2012
-
 
3
   Free Software Foundation, Inc.
2
   Copyright (C) 2009-2015 Free Software Foundation, Inc.
Line 4... Line 3...
4
 
3
 
Line 5... Line 4...
5
   This file is part of GAS.
4
   This file is part of GAS.
6
 
5
 
Line 55... Line 54...
55
  .seh_stackalloc
54
  .seh_stackalloc
56
  .seh_pushreg
55
  .seh_pushreg
57
  .seh_savereg
56
  .seh_savereg
58
  .seh_savexmm
57
  .seh_savexmm
59
  .seh_pushframe
58
  .seh_pushframe
-
 
59
  .seh_code
60
*/
60
*/
Line 61... Line 61...
61
 
61
 
62
/* architecture specific pdata/xdata handling.  */
62
/* architecture specific pdata/xdata handling.  */
63
#define SEH_CMDS \
63
#define SEH_CMDS \
Line 72... Line 72...
72
        {"seh_stackalloc", obj_coff_seh_stackalloc, 0}, \
72
        {"seh_stackalloc", obj_coff_seh_stackalloc, 0}, \
73
	{"seh_eh", obj_coff_seh_eh, 0}, \
73
	{"seh_eh", obj_coff_seh_eh, 0}, \
74
	{"seh_32", obj_coff_seh_32, 1}, \
74
	{"seh_32", obj_coff_seh_32, 1}, \
75
	{"seh_no32", obj_coff_seh_32, 0}, \
75
	{"seh_no32", obj_coff_seh_32, 0}, \
76
	{"seh_handler", obj_coff_seh_handler, 0}, \
76
	{"seh_handler", obj_coff_seh_handler, 0}, \
-
 
77
	{"seh_code", obj_coff_seh_code, 0}, \
77
	{"seh_handlerdata", obj_coff_seh_handlerdata, 0},
78
	{"seh_handlerdata", obj_coff_seh_handlerdata, 0},
Line 78... Line 79...
78
 
79
 
Line 79... Line 80...
79
/* Type definitions.  */
80
/* Type definitions.  */
Line 147... Line 148...
147
static void obj_coff_seh_eh (int);
148
static void obj_coff_seh_eh (int);
148
static void obj_coff_seh_32 (int);
149
static void obj_coff_seh_32 (int);
149
static void obj_coff_seh_proc  (int);
150
static void obj_coff_seh_proc  (int);
150
static void obj_coff_seh_handler (int);
151
static void obj_coff_seh_handler (int);
151
static void obj_coff_seh_handlerdata (int);
152
static void obj_coff_seh_handlerdata (int);
-
 
153
static void obj_coff_seh_code (int);
Line 152... Line 154...
152
 
154
 
Line 153... Line 155...
153
#define UNDSEC bfd_und_section_ptr
155
#define UNDSEC bfd_und_section_ptr
154
 
156
 
Line 200... Line 202...
200
#define PEX64_SCOPE_ENTRY(COUNTOFUNWINDCODES, IDX) \
202
#define PEX64_SCOPE_ENTRY(COUNTOFUNWINDCODES, IDX) \
201
  (PEX64_OFFSET_TO_SCOPE_COUNT(COUNTOFUNWINDCODES) + \
203
  (PEX64_OFFSET_TO_SCOPE_COUNT(COUNTOFUNWINDCODES) + \
202
   PEX64_SCOPE_ENTRY_SIZE * (IDX))
204
   PEX64_SCOPE_ENTRY_SIZE * (IDX))
Line 203... Line 205...
203
 
205
 
204
#endif
-