LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 39825 - integrated assembler should accept both -defsym and --defsym
Summary: integrated assembler should accept both -defsym and --defsym
Status: NEW
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: trunk
Hardware: PC FreeBSD
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-28 07:42 PST by emaste
Modified: 2018-11-29 15:56 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emaste 2018-11-28 07:42:13 PST
Clang IAS supports -Wa,-defsym,FOO=BAR but not -Wa,--defsym,FOO=BAR (with two -s).  GNU as accepts both but documents the --defsym FOO=BAR form so it is presumably preferred.

(We are attempting to retire use of GNU as 2.17.50 in FreeBSD.  Most assembly files in our tree are already assembled by Clang IAS but there are a small number that still use GNU as for on reason or another, listed in https://bugs.freebsd.org/233611.)