Commit | Line | Data |
---|---|---|
46cf56fa C |
1 | /* Target machine sub-description for NetBSD. |
2 | This is included by other tm-*.h files to specify NetBSD-specific stuff. | |
3 | Copyright 1993, 1994 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 | |
6c9638b4 | 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
46cf56fa C |
20 | |
21 | #include "solib.h" /* Support for shared libraries. */ | |
22 | ||
23 | /* make structure definitions match up with those expected in solib.c */ | |
24 | #define link_object sod | |
25 | #define lo_name sod_name | |
26 | #define lo_library sod_library | |
27 | #define lo_unused sod_reserved | |
28 | #define lo_major sod_major | |
29 | #define lo_minor sod_minor | |
30 | #define lo_next sod_next | |
31 | ||
32 | #define link_map so_map | |
33 | #define lm_addr som_addr | |
34 | #define lm_name som_path | |
35 | #define lm_next som_next | |
36 | #define lm_lop som_sod | |
37 | #define lm_lob som_sodbase | |
38 | #define lm_rwt som_write | |
39 | #define lm_ld som_dynamic | |
40 | #define lm_lpd som_spd | |
41 | ||
42 | #define link_dynamic_2 section_dispatch_table | |
43 | #define ld_loaded sdt_loaded | |
44 | #define ld_need sdt_sods | |
45 | #define ld_rules sdt_filler1 | |
46 | #define ld_got sdt_got | |
47 | #define ld_plt sdt_plt | |
48 | #define ld_rel sdt_rel | |
49 | #define ld_hash sdt_hash | |
50 | #define ld_stab sdt_nzlist | |
51 | #define ld_stab_hash sdt_filler2 | |
52 | #define ld_buckets sdt_buckets | |
53 | #define ld_symbols sdt_strings | |
54 | #define ld_symb_size sdt_str_sz | |
55 | #define ld_text sdt_text_sz | |
56 | #define ld_plt_sz sdt_plt_sz | |
57 | ||
58 | #define rtc_symb rt_symbol | |
59 | #define rtc_sp rt_sp | |
60 | #define rtc_next rt_next | |
61 | ||
62 | #define ld_debug so_debug | |
63 | #define ldd_version dd_version | |
64 | #define ldd_in_debugger dd_in_debugger | |
65 | #define ldd_sym_loaded dd_sym_loaded | |
66 | #define ldd_bp_addr dd_bpt_addr | |
67 | #define ldd_bp_inst dd_bpt_shadow | |
68 | #define ldd_cp dd_cc | |
69 | ||
70 | #define link_dynamic _dynamic | |
71 | #define ld_version d_version | |
72 | #define ldd d_debug | |
73 | #define ld_un d_un | |
74 | #define ld_2 d_sdt |