File: i386sco.h

package info (click to toggle)
binutils-m68k-linux 2.9.1.0.12-1
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 29,636 kB
  • ctags: 40,213
  • sloc: ansic: 360,171; asm: 20,244; exp: 9,325; sh: 7,087; makefile: 5,430; yacc: 4,600; lisp: 2,991; lex: 1,426; sed: 544; cpp: 206; awk: 24; perl: 16
file content (19 lines) | stat: -rw-r--r-- 764 bytes parent folder | download | duplicates (37)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Core file stuff.  At least some, perhaps all, of the following
   defines work on many more systems than just SCO.  */

#define NBPG NBPC
#define UPAGES USIZE
#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
#define HOST_STACK_START_ADDR u.u_sub
#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
  ((core_upage(abfd)->u_sysabort != 0) \
   ? core_upage(abfd)->u_sysabort \
   : -1)

/* According to the manpage, a version 2 SCO corefile can contain
   various additional sections (it is cleverly arranged so the u area,
   data, and stack are first where we can find them).  So without
   writing lots of code to parse all their headers and stuff, we can't
   know whether a corefile is bigger than it should be.  */

#define TRAD_CORE_ALLOW_ANY_EXTRA_SIZE 1