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

Side by Side Diff: include/mach-o/loader.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 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
« no previous file with comments | « include/mach-o/external.h ('k') | include/mach-o/reloc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* Mach-O support for BFD. 1 /* Mach-O support for BFD.
2 Copyright 2011 2 Copyright 2011, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of BFD, the Binary File Descriptor library. 5 This file is part of BFD, the Binary File Descriptor library.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
11 11
12 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 BFD_MACH_O_CPU_TYPE_I860 = 15, 49 BFD_MACH_O_CPU_TYPE_I860 = 15,
50 BFD_MACH_O_CPU_TYPE_ALPHA = 16, 50 BFD_MACH_O_CPU_TYPE_ALPHA = 16,
51 BFD_MACH_O_CPU_TYPE_POWERPC = 18, 51 BFD_MACH_O_CPU_TYPE_POWERPC = 18,
52 BFD_MACH_O_CPU_TYPE_POWERPC_64 = (BFD_MACH_O_CPU_TYPE_POWERPC | BFD_MACH_O_CPU _IS64BIT), 52 BFD_MACH_O_CPU_TYPE_POWERPC_64 = (BFD_MACH_O_CPU_TYPE_POWERPC | BFD_MACH_O_CPU _IS64BIT),
53 BFD_MACH_O_CPU_TYPE_X86_64 = (BFD_MACH_O_CPU_TYPE_I386 | BFD_MACH_O_CPU_IS64BI T) 53 BFD_MACH_O_CPU_TYPE_X86_64 = (BFD_MACH_O_CPU_TYPE_I386 | BFD_MACH_O_CPU_IS64BI T)
54 } 54 }
55 bfd_mach_o_cpu_type; 55 bfd_mach_o_cpu_type;
56 56
57 typedef enum bfd_mach_o_cpu_subtype 57 typedef enum bfd_mach_o_cpu_subtype
58 { 58 {
59 BFD_MACH_O_CPU_SUBTYPE_X86_ALL = 3 59 /* i386. */
60 BFD_MACH_O_CPU_SUBTYPE_X86_ALL = 3,
61
62 /* arm. */
63 BFD_MACH_O_CPU_SUBTYPE_ARM_ALL = 0,
64 BFD_MACH_O_CPU_SUBTYPE_ARM_V4T = 5,
65 BFD_MACH_O_CPU_SUBTYPE_ARM_V6 = 6,
66 BFD_MACH_O_CPU_SUBTYPE_ARM_V5TEJ = 7,
67 BFD_MACH_O_CPU_SUBTYPE_ARM_XSCALE = 8,
68 BFD_MACH_O_CPU_SUBTYPE_ARM_V7 = 9
60 } 69 }
61 bfd_mach_o_cpu_subtype; 70 bfd_mach_o_cpu_subtype;
62 71
63 typedef enum bfd_mach_o_filetype 72 typedef enum bfd_mach_o_filetype
64 { 73 {
65 BFD_MACH_O_MH_OBJECT = 0x01, 74 BFD_MACH_O_MH_OBJECT = 0x01,
66 BFD_MACH_O_MH_EXECUTE = 0x02, 75 BFD_MACH_O_MH_EXECUTE = 0x02,
67 BFD_MACH_O_MH_FVMLIB = 0x03, 76 BFD_MACH_O_MH_FVMLIB = 0x03,
68 BFD_MACH_O_MH_CORE = 0x04, 77 BFD_MACH_O_MH_CORE = 0x04,
69 BFD_MACH_O_MH_PRELOAD = 0x05, 78 BFD_MACH_O_MH_PRELOAD = 0x05,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 can only have one type) but the section attributes are not (it may have more 245 can only have one type) but the section attributes are not (it may have more
237 than one attribute). */ 246 than one attribute). */
238 247
239 #define BFD_MACH_O_SECTION_TYPE_MASK 0x000000ff 248 #define BFD_MACH_O_SECTION_TYPE_MASK 0x000000ff
240 249
241 /* Constants for the section attributes part of the flags field of a section 250 /* Constants for the section attributes part of the flags field of a section
242 structure. */ 251 structure. */
243 #define BFD_MACH_O_SECTION_ATTRIBUTES_MASK 0xffffff00 252 #define BFD_MACH_O_SECTION_ATTRIBUTES_MASK 0xffffff00
244 /* System setable attributes. */ 253 /* System setable attributes. */
245 #define BFD_MACH_O_SECTION_ATTRIBUTES_SYS 0x00ffff00 254 #define BFD_MACH_O_SECTION_ATTRIBUTES_SYS 0x00ffff00

error: old chunk mismatch

OLDNEW
« no previous file with comments | « include/mach-o/external.h ('k') | include/mach-o/reloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698