Unverified Commit c007fbb1 authored by YunQiang Su's avatar YunQiang Su Committed by GitHub
Browse files

MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in the la macro (#80644)



When parsing the `la` macro, we add a duplicate `$` prefix in
`getOrCreateSymbol`,
leading to `error: Undefined temporary symbol $$yy` for code like:

```
xx:
	la	$2,$yy
$yy:
	nop
```

Remove the duplicate prefix.

In addition, recognize `.L`-prefixed symbols as local for O32.

See: #65020.

---------

Co-authored-by: default avatarFangrui Song <i@maskray.me>
parent a78d13d0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment