From: Tristan Gingold Date: Wed, 4 May 2011 06:53:38 +0000 (+0000) Subject: 2011-05-04 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cfbb63d82b88e5bcd31d873782964d6e678fd9d;p=binutils-gdb.git 2011-05-04 Tristan Gingold * rs6000.h (struct external_exceptab): New struct. (EXCEPTSZ): New macro. * rs6k64.h: (struct external_exceptab): New struct. (EXCEPTSZ): New macro. --- diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 9e2617d4de3..744d7e2bf1a 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,10 @@ +2011-05-04 Tristan Gingold + + * rs6000.h (struct external_exceptab): New struct. + (EXCEPTSZ): New macro. + * rs6k64.h: (struct external_exceptab): New struct. + (EXCEPTSZ): New macro. + 2011-05-03 Tristan Gingold * rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of diff --git a/include/coff/rs6000.h b/include/coff/rs6000.h index 960dd3226ff..c72e6e95321 100644 --- a/include/coff/rs6000.h +++ b/include/coff/rs6000.h @@ -276,3 +276,15 @@ struct external_ldrel }; #define LDRELSZ (2 * 4 + 2 * 2) + +struct external_exceptab +{ + union { + bfd_byte e_symndx[4]; + bfd_byte e_paddr[4]; + } e_addr; + bfd_byte e_lang[1]; + bfd_byte e_reason[1]; +}; + +#define EXCEPTSZ (4 + 2) diff --git a/include/coff/rs6k64.h b/include/coff/rs6k64.h index 516758bb1e6..ef91db43891 100644 --- a/include/coff/rs6k64.h +++ b/include/coff/rs6k64.h @@ -259,3 +259,15 @@ struct external_ldrel }; #define LDRELSZ (16) + +struct external_exceptab +{ + union { + bfd_byte e_symndx[4]; + bfd_byte e_paddr[8]; + } e_addr; + bfd_byte e_lang[1]; + bfd_byte e_reason[1]; +}; + +#define EXCEPTSZ (10)