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

Unified Diff: include/mach-o/arm.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/mach-o/ChangeLog ('k') | include/mach-o/external.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/mach-o/arm.h
diff --git a/bfd/cf-i386lynx.c b/include/mach-o/arm.h
similarity index 51%
copy from bfd/cf-i386lynx.c
copy to include/mach-o/arm.h
index 5fc268949eb7010ce428764692def20956d5018e..f37ff77e229a0eac06b8f8f8bf8f042064bc7999 100644
--- a/bfd/cf-i386lynx.c
+++ b/include/mach-o/arm.h
@@ -1,7 +1,6 @@
-/* BFD back-end for Intel 386 COFF LynxOS files.
- Copyright 1993, 1994, 1995, 2005, 2007, 2008
+/* Mach-O arm declarations for BFD.
+ Copyright 2012
Free Software Foundation, Inc.
- Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -20,16 +19,19 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-#include "sysdep.h"
-#include "bfd.h"
-
-#define TARGET_SYM i386lynx_coff_vec
-#define TARGET_NAME "coff-i386-lynx"
-
-#define LYNXOS
-
-#define COFF_LONG_FILENAMES
-
-#define bfd_pe_print_pdata NULL
-
-#include "coff-i386.c"
+#ifndef _MACH_O_ARM_H
+#define _MACH_O_ARM_H
+
+/* ARM relocations. */
+#define BFD_MACH_O_ARM_RELOC_VANILLA 0 /* Generic relocation. */
+#define BFD_MACH_O_ARM_RELOC_PAIR 1 /* Second entry in a pair. */
+#define BFD_MACH_O_ARM_RELOC_SECTDIFF 2 /* Substract with a PAIR. */
+#define BFD_MACH_O_ARM_RELOC_LOCAL_SECTDIFF 3 /* Like above, but local ref. */
+#define BFD_MACH_O_ARM_RELOC_PB_LA_PTR 4 /* Prebound lazy pointer. */
+#define BFD_MACH_O_ARM_RELOC_BR24 5 /* 24bit branch. */
+#define BFD_MACH_O_THUMB_RELOC_BR22 6 /* 22bit branch. */
+#define BFD_MACH_O_THUMB_32BIT_BRANCH 7 /* Obselete. */
+#define BFD_MACH_O_ARM_RELOC_HALF 8
+#define BFD_MACH_O_ARM_RELOC_HALF_SECTDIFF 9
+
+#endif /* _MACH_O_ARM_H */
« no previous file with comments | « include/mach-o/ChangeLog ('k') | include/mach-o/external.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698