Add auto-solib-add support for AIX, remove obsolete and unused
[binutils-gdb.git] / gdb / config / powerpc / tm-ppc-eabi.h
1 /* Macro definitions for Power PC running embedded ABI.
2 Copyright 1995, 1996, 1997 Free Software Foundation, Inc.
3
4 This file is part of GDB.
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,
19 Boston, MA 02111-1307, USA. */
20
21 #ifndef TM_PPC_EABI_H
22 #define TM_PPC_EABI_H
23
24 /* Use generic RS6000 definitions. */
25 #include "rs6000/tm-rs6000.h"
26 /* except we want to allow single stepping */
27 #undef SOFTWARE_SINGLE_STEP_P
28 #define SOFTWARE_SINGLE_STEP_P 0
29
30 #undef DEFAULT_LR_SAVE
31 #define DEFAULT_LR_SAVE 4 /* eabi saves LR at 4 off of SP */
32
33 #undef PROCESS_LINENUMBER_HOOK
34
35 #undef TEXT_SEGMENT_BASE
36 #define TEXT_SEGMENT_BASE 1
37
38 /* Say that we're using ELF, not XCOFF. */
39 #define ELF_OBJECT_FORMAT 1
40
41 #define TARGET_BYTE_ORDER_SELECTABLE_P 1
42
43 /* The value of symbols of type N_SO and N_FUN maybe null when
44 it shouldn't be. */
45 #define SOFUN_ADDRESS_MAYBE_MISSING
46
47 #endif /* TM_PPC_EABI_H */