mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
sim: callback: convert FS interfaces to 64-bit
Rather than rely on off_t being the right size between the host & target, have the interface always be 64-bit. We can figure out if we need to truncate when actually outputting it to the right target.
This commit is contained in:
@@ -211,10 +211,10 @@ sim_io_open (SIM_DESC sd,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
int64_t
|
||||
sim_io_lseek (SIM_DESC sd,
|
||||
int fd,
|
||||
long off,
|
||||
int64_t off,
|
||||
int way)
|
||||
{
|
||||
return STATE_CALLBACK (sd)->lseek (STATE_CALLBACK (sd), fd, off, way);
|
||||
|
||||
Reference in New Issue
Block a user