Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS/Gas: Support .L/$ as the mark of local symbol
In as.texi, there are lines: A local symbol is any symbol beginning with certain local label prefixes. By default, the local label prefix is @samp{.L} for ELF systems or @samp{L} for traditional a.out systems, but each target may have its own set of local label prefixes. Let's support it for MIPS: 1) For OldABI, GCC uses "$" to mark local symbols, and for NewABI, ".L" is used. So let's support both for OldABI, and ".L" only for NewABI. 2) Emit an fatal error, if a local symbol is used, while not defined, just like LLVM does.
- Loading branch information