e34363194ff004c6dcb4b0f967bb4cf36e4a4a47
[platform/upstream/binutils.git] / gdb / config / powerpc / tm-linux.h
1 /* Definitions to target GDB to GNU/Linux on PowerPC.
2
3    Copyright 1992, 1993, 2000, 2002 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
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
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
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
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20
21 #ifndef TM_LINUX_H
22 #define TM_LINUX_H
23
24 #include "powerpc/tm-ppc-eabi.h"
25 /* Avoid warning from redefinition in tm-sysv4.h (included from tm-linux.h) */
26 #undef SKIP_TRAMPOLINE_CODE
27 #include "config/tm-linux.h"
28
29 /* We've multi-arched these.  (Note that this completely undoes the
30    effect of config/tm-linux.h #including config/tm-sysv4.h.)  */
31 #undef IN_SOLIB_CALL_TRAMPOLINE
32 #undef SKIP_TRAMPOLINE_CODE
33
34 /* Make sure nexti gets the help it needs for debugging assembly code
35    without symbols */
36
37 extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
38 #undef DEPRECATED_IN_SIGTRAMP
39 #define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
40
41 #if 0
42 #define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
43 #define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM)
44 #endif
45
46 /* N_FUN symbols in shared libaries have 0 for their values and need
47    to be relocated. */
48 #define SOFUN_ADDRESS_MAYBE_MISSING
49
50 #endif  /* #ifndef TM_LINUX_H */