Commit | Line | Data |
---|---|---|
9eeef8ef | 1 | /* Native-dependent definitions for NetBSD a.out. |
6aba47ca | 2 | Copyright 1994, 1996, 1999, 2007 Free Software Foundation, Inc. |
9eeef8ef JT |
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 | |
a9762ec7 | 8 | the Free Software Foundation; either version 3 of the License, or |
9eeef8ef JT |
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 | |
a9762ec7 | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
9eeef8ef JT |
18 | |
19 | /* make structure definitions match up with those expected in solib.c */ | |
20 | #define link_object sod | |
21 | #define lo_name sod_name | |
22 | #define lo_library sod_library | |
23 | #define lo_unused sod_reserved | |
24 | #define lo_major sod_major | |
25 | #define lo_minor sod_minor | |
26 | #define lo_next sod_next | |
27 | ||
28 | #define link_map so_map | |
29 | #define lm_addr som_addr | |
30 | #define lm_name som_path | |
31 | #define lm_next som_next | |
32 | #define lm_lop som_sod | |
33 | #define lm_lob som_sodbase | |
34 | #define lm_rwt som_write | |
35 | #define lm_ld som_dynamic | |
36 | #define lm_lpd som_spd | |
37 | ||
38 | #define link_dynamic_2 section_dispatch_table | |
39 | #define ld_loaded sdt_loaded | |
40 | #define ld_need sdt_sods | |
41 | #define ld_rules sdt_filler1 | |
42 | #define ld_got sdt_got | |
43 | #define ld_plt sdt_plt | |
44 | #define ld_rel sdt_rel | |
45 | #define ld_hash sdt_hash | |
46 | #define ld_stab sdt_nzlist | |
47 | #define ld_stab_hash sdt_filler2 | |
48 | #define ld_buckets sdt_buckets | |
49 | #define ld_symbols sdt_strings | |
50 | #define ld_symb_size sdt_str_sz | |
51 | #define ld_text sdt_text_sz | |
52 | #define ld_plt_sz sdt_plt_sz | |
53 | ||
54 | #define rtc_symb rt_symbol | |
55 | #define rtc_sp rt_sp | |
56 | #define rtc_next rt_next | |
57 | ||
58 | #define ld_debug so_debug | |
59 | #define ldd_version dd_version | |
60 | #define ldd_in_debugger dd_in_debugger | |
61 | #define ldd_sym_loaded dd_sym_loaded | |
62 | #define ldd_bp_addr dd_bpt_addr | |
63 | #define ldd_bp_inst dd_bpt_shadow | |
64 | #define ldd_cp dd_cc | |
65 | ||
66 | #define link_dynamic _dynamic | |
67 | #define ld_version d_version | |
68 | #define ldd d_debug | |
69 | #define ld_un d_un | |
70 | #define ld_2 d_sdt |