From f9afaf2ddd9f6b752b95456b11cb1d9607449f51 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 May 2011 06:53:38 +0000 Subject: [PATCH] 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. --- include/coff/ChangeLog | 7 +++++++ include/coff/rs6000.h | 12 ++++++++++++ include/coff/rs6k64.h | 12 ++++++++++++ 3 files changed, 31 insertions(+) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 9e2617d4d..744d7e2bf 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 960dd3226..c72e6e953 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 516758bb1..ef91db438 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) -- 2.11.4.GIT