aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-05-04 11:05:14 +0000
committerTristan Gingold <gingold@adacore.com>2011-05-04 11:05:14 +0000
commitb27340db639b9639dd8dc7f328b78cb392ccc5ca (patch)
treeb04fac2262255d0c8c368aa0893875ac36949fa8 /include/coff
parent3c34866881f4218653b6f1b8fb389f2db8228212 (diff)
downloadnewlib-b27340db639b9639dd8dc7f328b78cb392ccc5ca.zip
newlib-b27340db639b9639dd8dc7f328b78cb392ccc5ca.tar.gz
newlib-b27340db639b9639dd8dc7f328b78cb392ccc5ca.tar.bz2
include/coff
2011-05-04 Tristan Gingold <gingold@adacore.com> * rs6000.h (union external_auxent): Add x_ftype field. * rs6k64.h: (struct external_auxent): Remap x_file field. bfd/ 2011-04-28 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file. (bfd_xcoff_swap_aux_out): Ditto. * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto. (bfd_xcoff64_swap_aux_out): Ditto.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/ChangeLog5
-rw-r--r--include/coff/rs6000.h17
-rw-r--r--include/coff/rs6k64.h20
3 files changed, 26 insertions, 16 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 744d7e2..b2fe5af 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,5 +1,10 @@
2011-05-04 Tristan Gingold <gingold@adacore.com>
+ * rs6000.h (union external_auxent): Add x_ftype field.
+ * rs6k64.h: (struct external_auxent): Remap x_file field.
+
+2011-05-04 Tristan Gingold <gingold@adacore.com>
+
* rs6000.h (struct external_exceptab): New struct.
(EXCEPTSZ): New macro.
* rs6k64.h: (struct external_exceptab): New struct.
diff --git a/include/coff/rs6000.h b/include/coff/rs6000.h
index c72e6e9..d5b2af2 100644
--- a/include/coff/rs6000.h
+++ b/include/coff/rs6000.h
@@ -168,13 +168,16 @@ union external_auxent {
char x_tvndx[2]; /* tv index */
} x_sym;
- union {
- char x_fname[E_FILNMLEN];
- struct {
- char x_zeroes[4];
- char x_offset[4];
- } x_n;
- } x_file;
+ struct {
+ union {
+ char x_fname[E_FILNMLEN];
+ struct {
+ char x_zeroes[4];
+ char x_offset[4];
+ } x_n;
+ } x_n;
+ char x_ftype[1];
+ } x_file;
struct {
char x_scnlen[4]; /* section length */
diff --git a/include/coff/rs6k64.h b/include/coff/rs6k64.h
index ef91db4..453198a 100644
--- a/include/coff/rs6k64.h
+++ b/include/coff/rs6k64.h
@@ -152,15 +152,17 @@ union external_auxent
} x_fcnary;
} x_sym;
- union {
- char x_fname[E_FILNMLEN];
- struct {
- char x_zeroes[4];
- char x_offset[4];
- char x_pad[6];
- unsigned char x_ftype[1];
- unsigned char x_resv[2];
- } x_n;
+ struct {
+ union {
+ char x_fname[E_FILNMLEN];
+ struct {
+ char x_zeroes[4];
+ char x_offset[4];
+ char x_pad[6];
+ } x_n;
+ } x_n;
+ unsigned char x_ftype[1];
+ unsigned char x_resv[2];
} x_file;
struct {