Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: src/include/elf32.h

Issue 14757008: Minidumper: Get the nexe's build ID from PT_NOTE when available (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Comment Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/include/elf_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* @file 7 /* @file
8 * 8 *
9 * Minimal ELF header declaration / constants for Elf32* values. 9 * Minimal ELF header declaration / constants for Elf32* values.
10 * Constants are defined only for fields that are actualy 10 * Constants are defined only for fields that are actualy
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Elf32_Word sh_flags; 77 Elf32_Word sh_flags;
78 Elf32_Addr sh_addr; 78 Elf32_Addr sh_addr;
79 Elf32_Off sh_offset; 79 Elf32_Off sh_offset;
80 Elf32_Word sh_size; 80 Elf32_Word sh_size;
81 Elf32_Word sh_link; 81 Elf32_Word sh_link;
82 Elf32_Word sh_info; 82 Elf32_Word sh_info;
83 Elf32_Word sh_addralign; 83 Elf32_Word sh_addralign;
84 Elf32_Word sh_entsize; 84 Elf32_Word sh_entsize;
85 } Elf32_Shdr; 85 } Elf32_Shdr;
86 86
87 typedef struct {
88 Elf32_Word n_namesz;
89 Elf32_Word n_descsz;
90 Elf32_Word n_type;
91 } Elf32_Nhdr;
92
87 /* 93 /*
88 * The auxiliary vector is passed on the stack between ELF loaders, 94 * The auxiliary vector is passed on the stack between ELF loaders,
89 * dynamic linkers, and program startup code. The gratuitous union 95 * dynamic linkers, and program startup code. The gratuitous union
90 * is the historical standard API, though it has no purpose today. 96 * is the historical standard API, though it has no purpose today.
91 */ 97 */
92 typedef struct { 98 typedef struct {
93 Elf32_Word a_type; /* Entry type */ 99 Elf32_Word a_type; /* Entry type */
94 union { 100 union {
95 Elf32_Word a_val; /* Integer value */ 101 Elf32_Word a_val; /* Integer value */
96 } a_un; 102 } a_un;
97 } Elf32_auxv_t; 103 } Elf32_auxv_t;
98 104
99 105
100 EXTERN_C_END 106 EXTERN_C_END
101 107
102 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ELF32_H_ */ 108 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ELF32_H_ */
OLDNEW
« no previous file with comments | « no previous file | src/include/elf_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698