Pad NOP instructions instead of the ILLEGAL instruction for entry
authorHomer Hsing <homer.xing@intel.com>
Mon, 17 Sep 2012 08:01:16 +0000 (16:01 +0800)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:32 +0000 (15:54 +0000)
commit5defbd37b6d0c18801298edaa2eba3e9e09cd24d
tree7524a1531db8ff9d623649253f27f762e3fb9a32
parente6d61ac20284b0de9b4dc81cb9ba27109b477cd1
Pad NOP instructions instead of the ILLEGAL instruction for entry

If a label is an entry, the assembler will pad empty instruction
before the label until offset % 4 == 0. In the past, the ILLEGAL
instructions are padded. It may raise exceptions. We use the NOP
instructions instead.
assembler/src/main.c