diff options
author | Doug Evans <dje@google.com> | 1998-06-01 03:53:32 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-06-01 03:53:32 +0000 |
commit | 7a70182554dfbc93d817b09eb6f5bb152fc5b7d6 (patch) | |
tree | 0d6cb7025991aaef0615c53aa821e5653946bb74 | |
parent | edac2b4c88825303a499b47dead31d8dc5fb16be (diff) | |
download | gdb-7a70182554dfbc93d817b09eb6f5bb152fc5b7d6.zip gdb-7a70182554dfbc93d817b09eb6f5bb152fc5b7d6.tar.gz gdb-7a70182554dfbc93d817b09eb6f5bb152fc5b7d6.tar.bz2 |
(create_vuoverlay_section): Set SEC_CODE flag for overlay sections.
-rw-r--r-- | gas/config/tc-dvp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index c10c1c1..99683b7 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -2308,7 +2308,7 @@ create_vuoverlay_section (section_name, addr, start_label, end_label) ??? A cleaner way would be if mpg took a new argument that named the overlay. */ vuoverlay_section = subseg_new (section_name, 0); - bfd_set_section_flags (stdoutput, vuoverlay_section, 0); + bfd_set_section_flags (stdoutput, vuoverlay_section, SEC_CODE); /* There's no point in setting the section vma as we can't get the linker to preserve it. But what the heck ... It might be useful to the objdump user. */ @@ -2529,7 +2529,8 @@ parse_dma_addr_autocount (opcode, operand, mods, insn_buf, pstr, errmsg) label = symbol_find_or_make (name); *end = c; - label2 = create_label ("_$", name); + /* Use the same prefix as vu labels here. */ + label2 = create_label (VU_LABEL_PREFIX, name); endlabel = create_label (END_LABEL_PREFIX, name); retval = eval_expr (DVP_DMA, dma_operand_addr, 4, name); |