Skip to content

Merge c007fbb19879f9b597b47ae772c53e53cdc65f29 into 18.x #81809

Closed
@brad0

Description

@brad0

[PATCH] 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions