bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/21762] Use of STABS directives on MIPS causes label to be incor


From: james410 at cowgill dot org.uk
Subject: [Bug gas/21762] Use of STABS directives on MIPS causes label to be incorrectly marked as MIPS16
Date: Wed, 12 Jul 2017 16:05:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21762

--- Comment #1 from James Cowgill <james410 at cowgill dot org.uk> ---
> Breakpoint 1, mips_compressed_mark_label (label=0x555555a599e0) at 
> ../../binutils-gdb/gas/config/tc-mips.c:4389
> 4389    gas_assert (HAVE_CODE_COMPRESSION);
> (gdb) bt
> #0  mips_compressed_mark_label (label=0x555555a599e0) at 
> ../../binutils-gdb/gas/config/tc-mips.c:4389
> #1  0x0000555555606353 in mips_compressed_mark_labels () at 
> ../../binutils-gdb/gas/config/tc-mips.c:4414
> #2  0x0000555555601663 in mips_mark_labels () at 
> ../../binutils-gdb/gas/config/tc-mips.c:1944
> #3  0x00005555556291e9 in s_mips_stab (type=100) at 
> ../../binutils-gdb/gas/config/tc-mips.c:17152
> #4  0x00005555555eb667 in read_a_source_file (name=0x7fffffffe2e9 "test.s") 
> at ../../binutils-> gdb/gas/read.c:1146
> #5  0x00005555555cc4ab in perform_an_assembly_pass (argc=0, 
> argv=0x5555559f6f08) at ../../binutils-> gdb/gas/as.c:1172
> #6  0x00005555555cc75c in main (argc=2, argv=0x5555559f6f00) at 
> ../../binutils-gdb/gas/as.c:1297
> (gdb) p mips_opts.mips16
> $1 = -1

So the "if (mips_opts.mips16)" condition is true and the label gets marked as
MIPS16.

My guess is that one of the functions in the above call chain needs a call to
"file_mips_check_options" adding to it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]