]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gdb/gdb/config/nm-nbsdaout.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gdb / gdb / config / nm-nbsdaout.h
1 /* Native-dependent definitions for NetBSD a.out.
2    Copyright 1994, 1996, 1999 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 /* make structure definitions match up with those expected in solib.c */
22 #define link_object     sod
23 #define lo_name         sod_name
24 #define lo_library      sod_library
25 #define lo_unused       sod_reserved
26 #define lo_major        sod_major
27 #define lo_minor        sod_minor
28 #define lo_next         sod_next
29
30 #define link_map        so_map
31 #define lm_addr         som_addr
32 #define lm_name         som_path
33 #define lm_next         som_next
34 #define lm_lop          som_sod
35 #define lm_lob          som_sodbase
36 #define lm_rwt          som_write
37 #define lm_ld           som_dynamic
38 #define lm_lpd          som_spd
39
40 #define link_dynamic_2  section_dispatch_table
41 #define ld_loaded       sdt_loaded
42 #define ld_need         sdt_sods
43 #define ld_rules        sdt_filler1
44 #define ld_got          sdt_got
45 #define ld_plt          sdt_plt
46 #define ld_rel          sdt_rel
47 #define ld_hash         sdt_hash
48 #define ld_stab         sdt_nzlist
49 #define ld_stab_hash    sdt_filler2
50 #define ld_buckets      sdt_buckets
51 #define ld_symbols      sdt_strings
52 #define ld_symb_size    sdt_str_sz
53 #define ld_text         sdt_text_sz
54 #define ld_plt_sz       sdt_plt_sz
55
56 #define rtc_symb        rt_symbol
57 #define rtc_sp          rt_sp
58 #define rtc_next        rt_next
59
60 #define ld_debug        so_debug
61 #define ldd_version     dd_version
62 #define ldd_in_debugger dd_in_debugger
63 #define ldd_sym_loaded  dd_sym_loaded
64 #define ldd_bp_addr     dd_bpt_addr
65 #define ldd_bp_inst     dd_bpt_shadow
66 #define ldd_cp          dd_cc
67
68 #define link_dynamic    _dynamic
69 #define ld_version      d_version
70 #define ldd             d_debug
71 #define ld_un           d_un
72 #define ld_2            d_sdt