X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fpef-traceback.h;h=e1887e25db22cf4bc718e5e3df0d047da31d0aad;hb=ac1438b5c566f160e55f16385624c736c3679f8c;hp=15f43b6e594ce7cd9f957bdc7045beec38c90f6e;hpb=3af9a47b1c2bef84a3d162e6bcea545212dd1e60;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/pef-traceback.h b/bfd/pef-traceback.h index 15f43b6e59..e1887e25db 100644 --- a/bfd/pef-traceback.h +++ b/bfd/pef-traceback.h @@ -1,12 +1,12 @@ /* PowerPC traceback table support for BFD. - Copyright 1993, 1998, 1999, 2000, 2001, 2002 + Copyright 1993, 1998, 1999, 2000, 2001, 2002, 2005, 2007 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. 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 + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -16,9 +16,11 @@ 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. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -/* Originally written by Ira Ruben, 06/28/93 */ + +/* Originally written by Ira Ruben, 06/28/93. */ /* This is a compiler independent representation of the AIX Version 3 traceback table (in sys/debug.h), which occurs, usually, one per procedure (routine). The table is marked by @@ -49,7 +51,7 @@ #define TB_PL8 11U /* PL8 */ #define TB_ASM 12U /* Asm */ -/* flags 1 */ +/* Flags 1. */ #define TB_GLOBALLINK 0x80U /* Routine is Global Linkage. */ #define TB_is_eprol 0x40U /* Out-of-line prolog or epilog routine. */ @@ -60,7 +62,7 @@ #define TB_FP_PRESENT 0x02U /* Routine has floating point ops. */ #define TB_LOG_ABORT 0x01U /* fp_present && log/abort compiler opt. */ -/* flags 2 */ +/* Flags 2. */ #define TB_INT_HNDL 0x80U /* Routine is an interrupt handler. */ #define TB_NAME_PRESENT 0x40U /* Name_len/name set (extension field). */ @@ -69,7 +71,7 @@ #define TB_SAVES_CR 0x02U /* Routine saves the CR. */ #define TB_SAVES_LR 0x01U /* Routine saves the LR. */ -/* cl_dis_inv "on condition" settings: */ +/* cl_dis_inv "on condition" settings: */ #define TB_CL_DIS_INV(x) (((x) & cl_dis_inv) >> 2U) @@ -77,7 +79,7 @@ #define TB_DISCARD_ONCOND 1U /* Walk stack and discard. */ #define TB_INVOKE_ONCOND 2U /* Invoke a specific system routine. */ -/* flags 3 */ +/* Flags 3. */ #define TB_STORES_BC 0x80U /* Routine saves frame ptr of caller. */ #define TB_SPARE2 0X40U /* Spare bit. */ @@ -86,7 +88,7 @@ #define TB_NUM_FPR_SAVED(x) ((x) & fpr_saved) -/* flags 4 */ +/* Flags 4. */ #define TB_HAS_VEC_INFO 0x80U /* Routine uses vectors. */ #define TB_SPARE3 0X40U /* Spare bit. */ @@ -95,14 +97,14 @@ #define TB_NUM_GPR_SAVED(x) ((x) & gpr_saved) -/* flags 5 */ +/* Flags 5. */ #define TB_FLOATPARAMS 0xfeU /* Number of floating point parameters. */ #define TB_PARAMSONSTK 0X01U /* All parameters are on the stack. */ #define TB_NUM_FLOATPARAMS(X) (((x) & floatparams) >> 1U) -/* traceback_table (fixed portion). */ +/* Traceback_table (fixed portion). */ struct traceback_table {