Bug 11404 - gas crashes if two mapping symbols have the same value
Summary: gas crashes if two mapping symbols have the same value
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.20
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 15:29 UTC by Mikael Pettersson
Modified: 2019-03-02 17:41 UTC (History)
1 user (show)

See Also:
Host:
Target: armv5tel-unknown-linux-gnueabi
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Pettersson 2010-03-19 15:29:25 UTC
The test case in http://sourceware.org/ml/binutils/2010-03/msg00262.html also
causes binutils-2.20.1 to crash:

> armv5tel-unknown-linux-gnueabi-as -o bug.o bug.s
bug.s: Assembler messages:
bug.s:3: Internal error!
Assertion failure in make_mapping_symbol at
/tmp/binutils-2.20.1/gas/config/tc-arm.c line 2490.
Please report this bug.
> cat bug.s
nop
.fill 0, 0, 0
nop

The patch in http://sourceware.org/ml/binutils-cvs/2010-03/msg00101.html should
also be applied to 2.20 branch.
Comment 1 Jie Zhang 2010-04-06 12:06:39 UTC
It's not likely that there will be another release from 2.20 branch. You can use
CVS trunk.
Comment 2 Mikael Pettersson 2019-03-02 17:41:05 UTC
Fixed in 2.21 and newer.