]> Cypherpunks repositories - gostls13.git/commit
8l: step toward native client.
authorRuss Cox <rsc@golang.org>
Sat, 19 Sep 2009 01:57:15 +0000 (18:57 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 19 Sep 2009 01:57:15 +0000 (18:57 -0700)
commit4a4ec238707ac1a7fd83c322c3ab024464d81f20
treec4ca0f3f8fcfb1d7f7f7219084daa60ed42892de
parentc64986f706936a6f1e2e23592275eb78f88d0ec6
8l: step toward native client.
  - ELF header bits and addresses
  - do not let instructions span 32-byte boundary
  - align CALLs so return is to 32-byte boundary
  - align indirect jump targets to 32-byte boundary
    (only possible indirect jumps are function entries)

still to do:
  - replace indirect jump, indirect call, and ret with
    nacl-approved instruction sequences
  - switch to GS segment for m-local storage

R=ken
OCL=34818
CL=34818
src/cmd/8l/asm.c
src/cmd/8l/l.h
src/cmd/8l/obj.c
src/cmd/8l/span.c