| OLD | NEW |
| 1 /* Support for 32-bit PowerPC NLM (NetWare Loadable Module) | 1 /* Support for 32-bit PowerPC NLM (NetWare Loadable Module) |
| 2 Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 2 Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 3 2007 Free Software Foundation, Inc. | 3 2007, 2012 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, |
| 13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
| 16 | 16 |
| 17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
| 18 along with this program; if not, write to the Free Software | 18 along with this program; if not, write to the Free Software |
| 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 20 MA 02110-1301, USA. */ | 20 MA 02110-1301, USA. */ |
| 21 | 21 |
| 22 #include "sysdep.h" |
| 22 #include "bfd.h" | 23 #include "bfd.h" |
| 23 #include "sysdep.h" | |
| 24 #include "libbfd.h" | 24 #include "libbfd.h" |
| 25 | 25 |
| 26 /* The format of a PowerPC NLM changed. Define OLDFORMAT to get the | 26 /* The format of a PowerPC NLM changed. Define OLDFORMAT to get the |
| 27 old format. */ | 27 old format. */ |
| 28 | 28 |
| 29 #define ARCH_SIZE 32 | 29 #define ARCH_SIZE 32 |
| 30 | 30 |
| 31 #include "nlm/ppc-ext.h" | 31 #include "nlm/ppc-ext.h" |
| 32 #define Nlm_External_Fixed_Header Nlm32_powerpc_External_Fixed_Header | 32 #define Nlm_External_Fixed_Header Nlm32_powerpc_External_Fixed_Header |
| 33 | 33 |
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 nlm_swap_fixed_header_out, | 981 nlm_swap_fixed_header_out, |
| 982 nlm_powerpc_write_external, | 982 nlm_powerpc_write_external, |
| 983 0, /* Write_export. */ | 983 0, /* Write_export. */ |
| 984 }; | 984 }; |
| 985 | 985 |
| 986 #define TARGET_BIG_NAME "nlm32-powerpc" | 986 #define TARGET_BIG_NAME "nlm32-powerpc" |
| 987 #define TARGET_BIG_SYM nlmNAME (powerpc_vec) | 987 #define TARGET_BIG_SYM nlmNAME (powerpc_vec) |
| 988 #define TARGET_BACKEND_DATA & nlm32_powerpc_backend | 988 #define TARGET_BACKEND_DATA & nlm32_powerpc_backend |
| 989 | 989 |
| 990 #include "nlm-target.h" | 990 #include "nlm-target.h" |
| OLD | NEW |