1130803Smarcel/* Native-dependent definitions for NetBSD a.out. 2130803Smarcel Copyright 1994, 1996, 1999 Free Software Foundation, Inc. 3130803Smarcel 4130803Smarcel This file is part of GDB. 5130803Smarcel 6130803Smarcel This program is free software; you can redistribute it and/or modify 7130803Smarcel it under the terms of the GNU General Public License as published by 8130803Smarcel the Free Software Foundation; either version 2 of the License, or 9130803Smarcel (at your option) any later version. 10130803Smarcel 11130803Smarcel This program is distributed in the hope that it will be useful, 12130803Smarcel but WITHOUT ANY WARRANTY; without even the implied warranty of 13130803Smarcel MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14130803Smarcel GNU General Public License for more details. 15130803Smarcel 16130803Smarcel You should have received a copy of the GNU General Public License 17130803Smarcel along with this program; if not, write to the Free Software 18130803Smarcel Foundation, Inc., 59 Temple Place - Suite 330, 19130803Smarcel Boston, MA 02111-1307, USA. */ 20130803Smarcel 21130803Smarcel/* make structure definitions match up with those expected in solib.c */ 22130803Smarcel#define link_object sod 23130803Smarcel#define lo_name sod_name 24130803Smarcel#define lo_library sod_library 25130803Smarcel#define lo_unused sod_reserved 26130803Smarcel#define lo_major sod_major 27130803Smarcel#define lo_minor sod_minor 28130803Smarcel#define lo_next sod_next 29130803Smarcel 30130803Smarcel#define link_map so_map 31130803Smarcel#define lm_addr som_addr 32130803Smarcel#define lm_name som_path 33130803Smarcel#define lm_next som_next 34130803Smarcel#define lm_lop som_sod 35130803Smarcel#define lm_lob som_sodbase 36130803Smarcel#define lm_rwt som_write 37130803Smarcel#define lm_ld som_dynamic 38130803Smarcel#define lm_lpd som_spd 39130803Smarcel 40130803Smarcel#define link_dynamic_2 section_dispatch_table 41130803Smarcel#define ld_loaded sdt_loaded 42130803Smarcel#define ld_need sdt_sods 43130803Smarcel#define ld_rules sdt_filler1 44130803Smarcel#define ld_got sdt_got 45130803Smarcel#define ld_plt sdt_plt 46130803Smarcel#define ld_rel sdt_rel 47130803Smarcel#define ld_hash sdt_hash 48130803Smarcel#define ld_stab sdt_nzlist 49130803Smarcel#define ld_stab_hash sdt_filler2 50130803Smarcel#define ld_buckets sdt_buckets 51130803Smarcel#define ld_symbols sdt_strings 52130803Smarcel#define ld_symb_size sdt_str_sz 53130803Smarcel#define ld_text sdt_text_sz 54130803Smarcel#define ld_plt_sz sdt_plt_sz 55130803Smarcel 56130803Smarcel#define rtc_symb rt_symbol 57130803Smarcel#define rtc_sp rt_sp 58130803Smarcel#define rtc_next rt_next 59130803Smarcel 60130803Smarcel#define ld_debug so_debug 61130803Smarcel#define ldd_version dd_version 62130803Smarcel#define ldd_in_debugger dd_in_debugger 63130803Smarcel#define ldd_sym_loaded dd_sym_loaded 64130803Smarcel#define ldd_bp_addr dd_bpt_addr 65130803Smarcel#define ldd_bp_inst dd_bpt_shadow 66130803Smarcel#define ldd_cp dd_cc 67130803Smarcel 68130803Smarcel#define link_dynamic _dynamic 69130803Smarcel#define ld_version d_version 70130803Smarcel#define ldd d_debug 71130803Smarcel#define ld_un d_un 72130803Smarcel#define ld_2 d_sdt 73