Newer
Older
ubix / src / sys / include / ubixos / a.out.h
@reddawg reddawg on 28 May 2002 1 KB Its Been lots of work
/**************************************************************************************
 Copyright (c) 2002 The UbixOS Project
 All rights reserved.

 Redistribution and use in source and binary forms, with or without modification,
 are prohibited.

 $Id$

**************************************************************************************/

#ifndef _A_OUT_H
#define _A_OUT_H

#include <ubixos/types.h>

typedef struct {
  uLong aMagic;        /* Use macros N_MAGIC, etc for access */
  unsigned aText;              /* length of text, in bytes */
  unsigned aData;              /* length of data, in bytes */
  unsigned aBss;               /* length of uninitialized data area for file, in bytes */
  unsigned aSyms;              /* length of symbol table data in file, in bytes */
  unsigned aEntry;             /* start address */
  unsigned aTrsize;            /* length of relocation info for text, in bytes */
  unsigned aDrsize;            /* length of relocation info for data, in bytes */
  } aoutHeader;

#endif