elf_common.h (4484:7c56a6c9c265) | elf_common.h (4494:b7c909b5a5e9) |
---|---|
1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 31 unchanged lines hidden (view full) --- 40 * begins with this header, aligned to a word boundary. Immediately 41 * following the note header is n_namesz bytes of name, padded to the 42 * next word boundary. Then comes n_descsz bytes of descriptor, again 43 * padded to a word boundary. The values of n_namesz and n_descsz do 44 * not include the padding. 45 */ 46 47typedef struct { | 1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 31 unchanged lines hidden (view full) --- 40 * begins with this header, aligned to a word boundary. Immediately 41 * following the note header is n_namesz bytes of name, padded to the 42 * next word boundary. Then comes n_descsz bytes of descriptor, again 43 * padded to a word boundary. The values of n_namesz and n_descsz do 44 * not include the padding. 45 */ 46 47typedef struct { |
48 u_int32_t n_namesz; /* Length of name. */ 49 u_int32_t n_descsz; /* Length of descriptor. */ 50 u_int32_t n_type; /* Type of this note. */ | 48 uint32_t n_namesz; /* Length of name. */ 49 uint32_t n_descsz; /* Length of descriptor. */ 50 uint32_t n_type; /* Type of this note. */ |
51} Elf_Note; 52 53/* Indexes into the e_ident array. Keep synced with 54 http://www.sco.com/developers/gabi/latest/ch4.eheader.html */ 55#define EI_MAG0 0 /* Magic number, byte 0. */ 56#define EI_MAG1 1 /* Magic number, byte 1. */ 57#define EI_MAG2 2 /* Magic number, byte 2. */ 58#define EI_MAG3 3 /* Magic number, byte 3. */ --- 788 unchanged lines hidden --- | 51} Elf_Note; 52 53/* Indexes into the e_ident array. Keep synced with 54 http://www.sco.com/developers/gabi/latest/ch4.eheader.html */ 55#define EI_MAG0 0 /* Magic number, byte 0. */ 56#define EI_MAG1 1 /* Magic number, byte 1. */ 57#define EI_MAG2 2 /* Magic number, byte 2. */ 58#define EI_MAG3 3 /* Magic number, byte 3. */ --- 788 unchanged lines hidden --- |