[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/26001] New: PDP11 gas confuses register names and symbols
From: |
casner at acm dot org |
Subject: |
[Bug gas/26001] New: PDP11 gas confuses register names and symbols |
Date: |
Sat, 16 May 2020 19:05:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26001
Bug ID: 26001
Summary: PDP11 gas confuses register names and symbols
Product: binutils
Version: 2.35 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: casner at acm dot org
Target Milestone: ---
Attempting to assemble the instruction
jsr pc,sprintf
results in error message "Too many operands". This occurs because "sp" is
interpreted as a register name and so "rintf" is considered excess. Not to
mention that "jsr pc,sp" is not a valid instruction anyway. But the failure
would also occur with "mov r0,space" where "mov r0,sp" would be valid.
It's hard to believe that this bug was present since the PDP11 code was added
in 2001, but perhaps the C compiler always prefixes symbols with . or _ so this
bug would not have been exposed.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/26001] New: PDP11 gas confuses register names and symbols,
casner at acm dot org <=
- [Bug gas/26001] PDP11 gas confuses register names and symbols, casner at acm dot org, 2020/05/16
- [Bug gas/26001] PDP11 gas confuses register names and symbols, casner at acm dot org, 2020/05/16
- [Bug gas/26001] PDP11 gas confuses register names and symbols, casner at acm dot org, 2020/05/17
- [Bug gas/26001] PDP11 gas confuses register names and symbols, cvs-commit at gcc dot gnu.org, 2020/05/27
- [Bug gas/26001] PDP11 gas confuses register names and symbols, casner at acm dot org, 2020/05/27