aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-z8k.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-19 21:11:46 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-19 21:11:46 +0000
commita56552441f1333d5f810157fb5e877cfafa45a7f (patch)
tree358d4997fcc944b3a8069cf90c3b96ba359a047c /bfd/coff-z8k.c
parent500d7394cf3658c2917329a326b4e6d08633355a (diff)
downloadgdb-a56552441f1333d5f810157fb5e877cfafa45a7f.zip
gdb-a56552441f1333d5f810157fb5e877cfafa45a7f.tar.gz
gdb-a56552441f1333d5f810157fb5e877cfafa45a7f.tar.bz2
* targets.c (bfd_target): Remove unused align_power_min field.
* bfd-in2.h: Rebuild. * All backends: Remove initialization of align_power_min.
Diffstat (limited to 'bfd/coff-z8k.c')
-rw-r--r--bfd/coff-z8k.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/coff-z8k.c b/bfd/coff-z8k.c
index fc074a5..597d790 100644
--- a/bfd/coff-z8k.c
+++ b/bfd/coff-z8k.c
@@ -17,7 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
#include "sysdep.h"
@@ -28,6 +28,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "coff/internal.h"
#include "libcoff.h"
+#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (1)
+
static reloc_howto_type r_imm32 =
HOWTO (R_IMM32, 0, 1, 32, false, 0,
complain_overflow_bitfield, 0, "r_imm32", true, 0xffffffff,
@@ -136,7 +138,7 @@ reloc_processing (relent, reloc, symbols, abfd, section)
}
else
{
- relent->sym_ptr_ptr = &(bfd_abs_symbol);
+ relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
}
@@ -250,7 +252,6 @@ const bfd_target z8kcoff_vec =
'_', /* leading symbol underscore */
'/', /* ar_pad_char */
15, /* ar_max_namelen */
- 1, /* minimum section alignment */
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */