diff options
author | Doug Evans <dje@google.com> | 1998-06-03 17:27:56 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-06-03 17:27:56 +0000 |
commit | 7f7d7bc009cf612e2a889699a281d597db99d860 (patch) | |
tree | cff83956c38bc796b8d06529f60d6057f87a0900 /gas | |
parent | f5bb0acb5ab597eabf45959381b228dcbf1c2713 (diff) | |
download | gdb-7f7d7bc009cf612e2a889699a281d597db99d860.zip gdb-7f7d7bc009cf612e2a889699a281d597db99d860.tar.gz gdb-7f7d7bc009cf612e2a889699a281d597db99d860.tar.bz2 |
* config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4.
(create_vuoverlay_section): Entries are 4 bytes not 8.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-dvp.c | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a208844..1bae71d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-sky +Wed Jun 3 10:26:04 1998 Doug Evans <devans@canuck.cygnus.com> + + * 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 <clm@cygnus.com> * 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 204f1c8..848f141 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. */ |