Skip to content
Snippets Groups Projects
  1. Aug 14, 2007
  2. Aug 13, 2007
    • rsc's avatar
      · 8c4b5fc5
      rsc authored
      Gcc expects to be able to pick up the return
      address off the stack, so put one there for it.
      (Bug was hidden by bad segment limits.)
      8c4b5fc5
    • rsc's avatar
      · 2ef3a64b
      rsc authored
      Because limit gives the address of the last addressable
      byte in the segment, the limit argument to SEG16 and SEG
      needs to have 1 subtracted from it.
      2ef3a64b
    • rsc's avatar
      ditto · 64659055
      rsc authored
      64659055
    • rsc's avatar
      · 3163085a
      rsc authored
      Cannot use "g" as an arg constraint because
      some memory references aren't actually valid
      and gcc is a bit too smart in parsing (%0) and
      a bit too dumb in knowing which memory refs
      are not valid.  Using "r" seems to constrain gcc
      to use a register as in (%eax) and not substitute
      a memory reference like (-36(%ebp)).
      
      No one really understands these things.
      3163085a
  3. Aug 10, 2007
  4. Aug 09, 2007
  5. Aug 08, 2007
Loading