X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fcoffgrok.h;h=d071d24e72291f2d3620fb53be5d594132ae7d49;hb=c5b3a82ae67c704f464715ac353aacca02884c81;hp=c0ade42a61f7286bff798dd318ed87505de381cf;hpb=252b5132c753830d5fd56823373aed85f2a0db63;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/coffgrok.h b/binutils/coffgrok.h index c0ade42a61..d071d24e72 100644 --- a/binutils/coffgrok.h +++ b/binutils/coffgrok.h @@ -1,3 +1,22 @@ +/* coffgrok.h + Copyright 2001 Free Software Foundation, Inc. + +This file is part of GNU Binutils. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #define T_NULL 0 #define T_VOID 1 /* function argument (only used by compiler) */ #define T_CHAR 2 /* character */ @@ -24,7 +43,7 @@ int addend; }; - struct coff_section + struct coff_section { char *name; int code; @@ -63,7 +82,7 @@ struct coff_sfile /* Vector which maps where in each output section the input file has it's data */ - struct coff_isection *section; + struct coff_isection *section; }; @@ -78,7 +97,7 @@ struct coff_sfile } type; union { - struct + struct { int address; int size; @@ -128,7 +147,7 @@ struct coff_sfile }; - struct coff_line + struct coff_line { int nlines; int *lines; @@ -169,7 +188,7 @@ struct coff_sfile coff_vis_tag, coff_vis_member_of_struct, coff_vis_member_of_enum, - coff_vis_autoparam, + coff_vis_autoparam, coff_vis_regparam, } type; }; @@ -203,4 +222,4 @@ struct coff_sfile struct coff_sfile *sfile; }; -struct coff_ofile *coff_grok(); +struct coff_ofile *coff_grok PARAMS ((bfd *));