Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Implement assembler directives #105

Merged

Conversation

agnat
Copy link

@agnat agnat commented Jun 7, 2015

Goal is to implement the assembler directives listed in #24 that are unknown to llvm core:

  • High Priority
    • .cseg
    • .db
    • .dseg
    • .dw
  • Medium Priority
    • .eseg
  • Low Priority
    • .csegsize
    • .def
    • .device
    • .exit
    • .list
    • .listmac
    • .nolist

Add stubs for all directives listed in avr-llvm#24 that are unknown to llvm core.
@dylanmckay
Copy link
Member

How many of these are common to more than just AVR? It could be worth adding these to the generic MCAsmParser in lib/MC/AsmParser/MCAsmParser.cpp once we actually implement them.

dylanmckay pushed a commit that referenced this pull request Jun 7, 2015
@dylanmckay dylanmckay merged commit 320f35f into avr-llvm:avr-support Jun 7, 2015
@agnat
Copy link
Author

agnat commented Jun 7, 2015

Ok, turns out this was premature...

The directives (or pseudo-ops) above are not gas (avr-as) directives. They are from the Atmel AVR assembler. gas only supports .list and .nolist. So, I will remove the stubs again, probably in the next PR.

@agnat agnat deleted the feature/assembler_directives branch June 9, 2015 03:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants