| 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 */
|
|
|