Skip to content
  • Natanael Copa's avatar
    main/libc0.9.32: fix/workaround posix_fallocate for x86 · 049753c0
    Natanael Copa authored
    Might be a gcc bug, but the generated assembly code was broke.
    
    ebp was supposed to be set to zero but it was not.
    
    We work around it by allowing use of immedate values as the 6th syscall
    arg. Then gcc don't need to use a memory reference.
    049753c0