diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-06 08:59:34 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-06 08:59:34 +0000 |
commit | 2a52da5326b817573b36327cb3ddad0e7a26d78e (patch) | |
tree | edf2b77720023e08f475c6bf257b494575c72cd9 /bfd/coff-rs6000.c | |
parent | 8ea80f084388d7c76b38d587043f2d6935db90b2 (diff) | |
download | gdb-2a52da5326b817573b36327cb3ddad0e7a26d78e.zip gdb-2a52da5326b817573b36327cb3ddad0e7a26d78e.tar.gz gdb-2a52da5326b817573b36327cb3ddad0e7a26d78e.tar.bz2 |
* libxcoff.h: Use PARAMS on function declarations.
* coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc.
* coff64-rs6000.c (xcoff64_generate_rtinit): Likewise.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index bf4ebc1..235b6a1 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -3708,7 +3708,7 @@ xcoff_generate_rtinit (abfd, init, fini, rtld) 0x0040 + initsz fini name */ data_buffer_size = 0x0040 + initsz + finisz; - data_buffer_size += (data_buffer_size & 7) ? 8 - (data_buffer_size & 7) : 0; + data_buffer_size = (data_buffer_size + 7) &~ (bfd_size_type) 7; data_buffer = NULL; data_buffer = (bfd_byte *) bfd_zmalloc (data_buffer_size); if (data_buffer == NULL) |