149d3bc91SRichard Lowe /* 249d3bc91SRichard Lowe 349d3bc91SRichard Lowe Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. 4*4d9fdb46SRobert Mustacchi Portions Copyright (C) 2008-2011 David Anderson. All Rights Reserved. 549d3bc91SRichard Lowe 649d3bc91SRichard Lowe This program is free software; you can redistribute it and/or modify it 7*4d9fdb46SRobert Mustacchi under the terms of version 2.1 of the GNU Lesser General Public License 849d3bc91SRichard Lowe as published by the Free Software Foundation. 949d3bc91SRichard Lowe 1049d3bc91SRichard Lowe This program is distributed in the hope that it would be useful, but 1149d3bc91SRichard Lowe WITHOUT ANY WARRANTY; without even the implied warranty of 12*4d9fdb46SRobert Mustacchi MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1349d3bc91SRichard Lowe 1449d3bc91SRichard Lowe Further, this software is distributed without any warranty that it is 15*4d9fdb46SRobert Mustacchi free of the rightful claim of any third person regarding infringement 16*4d9fdb46SRobert Mustacchi or the like. Any license provided herein, whether implied or 1749d3bc91SRichard Lowe otherwise, applies only to this software file. Patent licenses, if 18*4d9fdb46SRobert Mustacchi any, provided herein do not apply to combinations of this program with 19*4d9fdb46SRobert Mustacchi other software, or any other product whatsoever. 2049d3bc91SRichard Lowe 2107dc1947SRichard Lowe You should have received a copy of the GNU Lesser General Public 2207dc1947SRichard Lowe License along with this program; if not, write the Free Software 2307dc1947SRichard Lowe Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301, 2449d3bc91SRichard Lowe USA. 2549d3bc91SRichard Lowe 2649d3bc91SRichard Lowe */ 2749d3bc91SRichard Lowe 2849d3bc91SRichard Lowe 2949d3bc91SRichard Lowe 3049d3bc91SRichard Lowe 3149d3bc91SRichard Lowe /* 32*4d9fdb46SRobert Mustacchi This struct holds information about an abbreviation. 3349d3bc91SRichard Lowe It is put in the hash table for abbreviations for 3449d3bc91SRichard Lowe a compile-unit. 35*4d9fdb46SRobert Mustacchi 36*4d9fdb46SRobert Mustacchi It's by dwarf_finish(). 3749d3bc91SRichard Lowe */ 3849d3bc91SRichard Lowe struct Dwarf_Abbrev_List_s { 39*4d9fdb46SRobert Mustacchi Dwarf_Unsigned abl_code; 40*4d9fdb46SRobert Mustacchi Dwarf_Half abl_tag; 41*4d9fdb46SRobert Mustacchi Dwarf_Half abl_has_child; 42*4d9fdb46SRobert Mustacchi /* Section global offset of this abbrev entry. */ 43*4d9fdb46SRobert Mustacchi Dwarf_Off abl_goffset; 44*4d9fdb46SRobert Mustacchi 45*4d9fdb46SRobert Mustacchi /* Singly linked synonym list in case of duplicate 46*4d9fdb46SRobert Mustacchi hash. */ 47*4d9fdb46SRobert Mustacchi struct Dwarf_Abbrev_List_s *abl_next; 48*4d9fdb46SRobert Mustacchi 49*4d9fdb46SRobert Mustacchi /* Points to start of attribute/form pairs in 50*4d9fdb46SRobert Mustacchi the .debug_abbrev section for the abbrev. */ 51*4d9fdb46SRobert Mustacchi Dwarf_Byte_Ptr abl_abbrev_ptr; 52*4d9fdb46SRobert Mustacchi 53*4d9fdb46SRobert Mustacchi /* The number of at/form[/implicitvalue] pairs 54*4d9fdb46SRobert Mustacchi in this abbrev. */ 55*4d9fdb46SRobert Mustacchi Dwarf_Unsigned abl_count; 5649d3bc91SRichard Lowe }; 57