Revision 992f48a0 linux-user/flat.h

b/linux-user/flat.h
22 22

  
23 23
struct flat_hdr {
24 24
	char magic[4];
25
	target_ulong rev;          /* version (as above) */
26
	target_ulong entry;        /* Offset of first executable instruction
27
	                               with text segment from beginning of file */
28
	target_ulong data_start;   /* Offset of data segment from beginning of
29
	                               file */
30
	target_ulong data_end;     /* Offset of end of data segment
31
	                               from beginning of file */
32
	target_ulong bss_end;      /* Offset of end of bss segment from beginning
33
	                               of file */
25
	abi_ulong rev;          /* version (as above) */
26
	abi_ulong entry;        /* Offset of first executable instruction
27
                                   with text segment from beginning of file */
28
	abi_ulong data_start;   /* Offset of data segment from beginning of
29
                                   file */
30
	abi_ulong data_end;     /* Offset of end of data segment
31
                                   from beginning of file */
32
	abi_ulong bss_end;      /* Offset of end of bss segment from beginning
33
                                   of file */
34 34

  
35 35
	/* (It is assumed that data_end through bss_end forms the bss segment.) */
36 36

  
37
	target_ulong stack_size;   /* Size of stack, in bytes */
38
	target_ulong reloc_start;  /* Offset of relocation records from
39
	                               beginning of file */
40
	target_ulong reloc_count;  /* Number of relocation records */
41
	target_ulong flags;
42
	target_ulong build_date;   /* When the program/library was built */
43
	target_ulong filler[5];    /* Reservered, set to zero */
37
	abi_ulong stack_size;   /* Size of stack, in bytes */
38
	abi_ulong reloc_start;  /* Offset of relocation records from
39
                                   beginning of file */
40
	abi_ulong reloc_count;  /* Number of relocation records */
41
	abi_ulong flags;
42
	abi_ulong build_date;   /* When the program/library was built */
43
	abi_ulong filler[5];    /* Reservered, set to zero */
44 44
};
45 45

  
46 46
#define FLAT_FLAG_RAM    0x0001 /* load program entirely into RAM */

Also available in: Unified diff