Actions
Bug #3382
openAssembler wrapper (aw) should pass all -D and -U options to preprocessor
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-11-23
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Assembler wrapper (aw) begins dispatching -D and -U options only after encountering the -P option:
734 case 'D': 735 case 'U': 736 if (cpp) 737 newae(cpp, arg); 738 else if (m4) 739 newae(m4, arg); 740 else 741 newae(as, arg); 742 break;
With this approach such commands do not work:
aw -Ui386 -P -D_ASM ...
This is unexpected. Assembler wrapper should look for the -P option first, and then start parsing command line from the beginning.
No data to display
Actions