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

Side by Side Diff: bfd/archures.c

Issue 256623012: Cherry pick some binutils NaCl strip/objcopy fixes in pnacl 2.23 branch. (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-binutils.git@master
Patch Set: need to cherry pick nops change too Created 6 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
« no previous file with comments | « bfd/ChangeLog ('k') | bfd/bfd-in2.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 /* BFD library support routines for architectures. 1 /* BFD library support routines for architectures.
2 Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2 Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
4 2012 Free Software Foundation, Inc. 4 2012 Free Software Foundation, Inc.
5 Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. 5 Hacked by John Gilmore and Steve Chamberlain of Cygnus Support.
6 6
7 This file is part of BFD, the Binary File Descriptor library. 7 This file is part of BFD, the Binary File Descriptor library.
8 8
9 This program is free software; you can redistribute it and/or modify 9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 .#define bfd_mach_x64_32 (1 << 4) 192 .#define bfd_mach_x64_32 (1 << 4)
193 .#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_int el_syntax) 193 .#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_int el_syntax)
194 .#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_s yntax) 194 .#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_s yntax)
195 .#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_s yntax) 195 .#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_s yntax)
196 . bfd_arch_l1om, {* Intel L1OM *} 196 . bfd_arch_l1om, {* Intel L1OM *}
197 .#define bfd_mach_l1om (1 << 5) 197 .#define bfd_mach_l1om (1 << 5)
198 .#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syn tax) 198 .#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syn tax)
199 . bfd_arch_k1om, {* Intel K1OM *} 199 . bfd_arch_k1om, {* Intel K1OM *}
200 .#define bfd_mach_k1om (1 << 6) 200 .#define bfd_mach_k1om (1 << 6)
201 .#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syn tax) 201 .#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syn tax)
202 .#define bfd_mach_i386_nacl (1 << 7)
203 .#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl )
204 .#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl)
205 .#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
202 . bfd_arch_we32k, {* AT&T WE32xxx *} 206 . bfd_arch_we32k, {* AT&T WE32xxx *}
203 . bfd_arch_tahoe, {* CCI/Harris Tahoe *} 207 . bfd_arch_tahoe, {* CCI/Harris Tahoe *}
204 . bfd_arch_i860, {* Intel 860 *} 208 . bfd_arch_i860, {* Intel 860 *}
205 . bfd_arch_i370, {* IBM 360/370 Mainframes *} 209 . bfd_arch_i370, {* IBM 360/370 Mainframes *}
206 . bfd_arch_romp, {* IBM ROMP PC/RT *} 210 . bfd_arch_romp, {* IBM ROMP PC/RT *}
207 . bfd_arch_convex, {* Convex *} 211 . bfd_arch_convex, {* Convex *}
208 . bfd_arch_m88k, {* Motorola 88xxx *} 212 . bfd_arch_m88k, {* Motorola 88xxx *}
209 . bfd_arch_m98k, {* Motorola 98xxx *} 213 . bfd_arch_m98k, {* Motorola 98xxx *}
210 . bfd_arch_pyramid, {* Pyramid Technology *} 214 . bfd_arch_pyramid, {* Pyramid Technology *}
211 . bfd_arch_h8300, {* Renesas H8/300 (formerly Hitachi H8/300) *} 215 . bfd_arch_h8300, {* Renesas H8/300 (formerly Hitachi H8/300) *}
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 void * 1357 void *
1354 bfd_arch_default_fill (bfd_size_type count, 1358 bfd_arch_default_fill (bfd_size_type count,
1355 bfd_boolean is_bigendian ATTRIBUTE_UNUSED, 1359 bfd_boolean is_bigendian ATTRIBUTE_UNUSED,
1356 bfd_boolean code ATTRIBUTE_UNUSED) 1360 bfd_boolean code ATTRIBUTE_UNUSED)
1357 { 1361 {
1358 void *fill = bfd_malloc (count); 1362 void *fill = bfd_malloc (count);
1359 if (fill != NULL) 1363 if (fill != NULL)
1360 memset (fill, 0, count); 1364 memset (fill, 0, count);
1361 return fill; 1365 return fill;
1362 } 1366 }
OLDNEW
« no previous file with comments | « bfd/ChangeLog ('k') | bfd/bfd-in2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698