diff options
author | Tom Rix <trix@redhat.com> | 2002-06-12 16:04:39 +0000 |
---|---|---|
committer | Tom Rix <trix@redhat.com> | 2002-06-12 16:04:39 +0000 |
commit | f381349953ca09f02ae26954a567be58747c3430 (patch) | |
tree | 63fed8ca1e9f51dc69e190d1d9ffc905ef22ad9a /bfd/coff-rs6000.c | |
parent | 6c5e141af0700087c5aad165966a730cd32bd94d (diff) | |
download | gdb-f381349953ca09f02ae26954a567be58747c3430.zip gdb-f381349953ca09f02ae26954a567be58747c3430.tar.gz gdb-f381349953ca09f02ae26954a567be58747c3430.tar.bz2 |
Change text alignement to 4 bytes.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 7cd26b8..a18aa5e 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -237,7 +237,7 @@ _bfd_xcoff_mkobject (abfd) xcoff_data (abfd)->debug_indices = NULL; /* text section alignment is different than the default */ - /* xcoff_data (abfd)->text_align_power = 5; */ + bfd_xcoff_text_align_power (abfd) = 2; return true; } @@ -278,8 +278,8 @@ _bfd_xcoff_copy_private_bfd_data (ibfd, obfd) else ox->snentry = sec->output_section->target_index; } - ox->text_align_power = ix->text_align_power; - ox->data_align_power = ix->data_align_power; + bfd_xcoff_text_align_power (obfd) = bfd_xcoff_text_align_power (ibfd); + bfd_xcoff_data_align_power (obfd) = bfd_xcoff_data_align_power (ibfd); ox->modtype = ix->modtype; ox->cputype = ix->cputype; ox->maxdata = ix->maxdata; @@ -1730,7 +1730,6 @@ do_shared_object_padding (out_bfd, in_bfd, offset, ar_header_size) int text_align_power; text_align_power = bfd_xcoff_text_align_power (in_bfd); - BFD_ASSERT (2 < text_align_power); pad = 1 << text_align_power; pad -= (*offset + ar_header_size) & (pad - 1); |