Hi LLVM developers,
Motivation:
- avr-ld supports directive, relax.s testcase
- arm-linux-gnu-ld supports that too, tls-gdlerelax.s testcase
But:
$ llvm-mc -filetype=obj -triple=avr-unknown-linux -mcpu=atmega328p relax.s -o relax.o relax.s:12:2: error: unknown directive .word L2 - L1 ^
So I simply override ParseDirective for llvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp, please review it, thanks a lot!
Regards,
Leslie Zhai
These headers should be in alphabetical order