• James Cowgill's avatar
    Fix build errors on x32 by using the generic 'add' instruction · 6c8edca2
    James Cowgill authored
    On x32 systems, pointers are 4-bytes wide and are therefore stored in %e?x
    registers (instead of %r?x registers). These registers must be accessed using
    "addl" instead of "addq", however the GNU assembler will acccept the generic
    "add" instruction and determine the correct opcode based on the registers
    passed to it.
    6c8edca2