URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [tags/] [start/] [gdb-5.0/] [bfd/] [m88kmach3.c] - Blame information for rev 1765
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
104 |
markom |
/* BFD back-end for Motorola m88k a.out (Mach 3) binaries.
|
2 |
|
|
Copyright (C) 1990, 1991, 1993, 1994 Free Software Foundation, Inc.
|
3 |
|
|
|
4 |
|
|
This file is part of BFD, the Binary File Descriptor library.
|
5 |
|
|
|
6 |
|
|
This program is free software; you can redistribute it and/or modify
|
7 |
|
|
it under the terms of the GNU General Public License as published by
|
8 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
9 |
|
|
(at your option) any later version.
|
10 |
|
|
|
11 |
|
|
This program is distributed in the hope that it will be useful,
|
12 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
|
|
GNU General Public License for more details.
|
15 |
|
|
|
16 |
|
|
You should have received a copy of the GNU General Public License
|
17 |
|
|
along with this program; if not, write to the Free Software
|
18 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
19 |
|
|
|
20 |
|
|
#define TARGET_PAGE_SIZE (4096*2)
|
21 |
|
|
#define SEGMENT_SIZE 0x20000
|
22 |
|
|
#define TEXT_START_ADDR 0
|
23 |
|
|
#define BYTES_IN_WORD 4
|
24 |
|
|
#define N_HEADER_IN_TEXT(x) 1 /* (N_MAGIG(x) == ZMAGIC) */
|
25 |
|
|
#define N_SHARED_LIB(x) 0
|
26 |
|
|
|
27 |
|
|
#define N_TXTSIZE(x) ((x).a_text)
|
28 |
|
|
|
29 |
|
|
#include "bfd.h"
|
30 |
|
|
#include "sysdep.h"
|
31 |
|
|
#include "libbfd.h"
|
32 |
|
|
#include "libaout.h"
|
33 |
|
|
|
34 |
|
|
#define DEFAULT_ARCH bfd_arch_m88k
|
35 |
|
|
#define MY(OP) CAT(m88kmach3_,OP)
|
36 |
|
|
#define TARGETNAME "a.out-m88k-mach3"
|
37 |
|
|
|
38 |
|
|
#include "aout-target.h"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.