* elf32-mips.c (mips_elf_relocate_section): If we issue an
[binutils-gdb.git] / bfd / m68klynx.c
index 08b5cd7194dd6cbf242bd80881c2ba6237d06191..7acdfbcad21d1dabaa7c6b251381e945ea5a3a7a 100644 (file)
@@ -15,15 +15,14 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define BYTES_IN_WORD 4
-#define ARCH 32
 #define N_SHARED_LIB(x) 0
 
 #define TEXT_START_ADDR 0
-#define PAGE_SIZE 4096
-#define SEGMENT_SIZE PAGE_SIZE
+#define TARGET_PAGE_SIZE 4096
+#define SEGMENT_SIZE TARGET_PAGE_SIZE
 #define DEFAULT_ARCH bfd_arch_m68k
 
 #define MY(OP) CAT(m68klynx_aout_,OP)
@@ -36,4 +35,20 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "libaout.h"
 #include "aout/aout64.h"
 
+#define TARGET_IS_BIG_ENDIAN_P
+
+#ifdef LYNX_CORE
+
+char *lynx_core_file_failing_command();
+int lynx_core_file_failing_signal();
+boolean lynx_core_file_matches_executable_p();
+const bfd_target *lynx_core_file_p();
+
+#define        MY_core_file_failing_command lynx_core_file_failing_command
+#define        MY_core_file_failing_signal lynx_core_file_failing_signal
+#define        MY_core_file_matches_executable_p lynx_core_file_matches_executable_p
+#define        MY_core_file_p lynx_core_file_p
+
+#endif /* LYNX_CORE */
+
 #include "aout-target.h"