1 /* ----------------------------------------------------------------------- *
3 * Copyright 2008 H. Peter Anvin - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
8 * Boston MA 02110-1301, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
16 * Descriptor for memory segments
24 typedef uint32_t addr_t;
30 uint32_t sh_type; /* Uses ELF constants, in host byte order */
31 uint32_t sh_flags; /* d:o */
37 int output_elf(struct segment *segs, addr_t entry, FILE *out);
39 #endif /* SEGMENT_H */