Fix more of the x86 assembler for the Mac.

The LITERAL macro only works inside [gas] macros. You _must_ use it in a [gas]
macro, but must _not_ use it outside of a [gas] macro.

Also, today's changes added function definitions that didn't go via any of the
existing macros, which were hiding the details of Mac OS name mangling. I've
added a new DEFINE_FUNCTION macro to hide this for regular functions.

This builds and links on Mac OS and Linux.

Change-Id: Ifb775c85d4ecc4952f5338866487d897ce6f0a6a
1 file changed
tree: 154f86939f556dd98851ab0d5eaef73ca84f745d
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/