From 7f7d7bc009cf612e2a889699a281d597db99d860 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 3 Jun 1998 17:27:56 +0000 Subject: [PATCH] * config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4. (create_vuoverlay_section): Entries are 4 bytes not 8. --- gas/ChangeLog | 7 +++++++ gas/config/tc-dvp.c | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a208844a590..1bae71d9a7f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-sky +Wed Jun 3 10:26:04 1998 Doug Evans + + * config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4. + (create_vuoverlay_section): Entries are 4 bytes not 8. + +end-sanitize-sky Wed Jun 3 09:16:00 1998 Catherine Moore * config/tc-v850.c (md_begin): Don't create special diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index 204f1c88105..848f141b098 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -328,7 +328,7 @@ md_begin () subsegT orig_subseg = now_subseg; vuoverlay_table_section = subseg_new (SHNAME_DVP_OVERLAY_TABLE, 0); - record_alignment (now_seg, 3); + record_alignment (now_seg, 2); vuoverlay_string_section = subseg_new (SHNAME_DVP_OVERLAY_STRTAB, 0); /* Ensure first byte in executable is zero. So what if we waste a few bytes. */ @@ -2364,19 +2364,19 @@ create_vuoverlay_section (section_name, addr, start_label, end_label) exp.X_op = O_symbol; exp.X_add_symbol = name_label; exp.X_add_number = 0; - emit_expr (&exp, 8); + emit_expr (&exp, 4); /* The section's lma. */ exp.X_op = O_symbol; exp.X_add_symbol = start_label; exp.X_add_number = 0; - emit_expr (&exp, 8); + emit_expr (&exp, 4); /* The section's vma. */ exp.X_op = O_symbol; exp.X_add_symbol = addr; exp.X_add_number = 0; - emit_expr (&exp, 8); + emit_expr (&exp, 4); } /* Restore the original seg/subseg. */ -- 2.30.2