forked from Imagelibrary/binutils-gdb
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:
@@ -53,7 +53,7 @@ int sim_io_read (SIM_DESC sd, int, char *, int);
|
||||
|
||||
int sim_io_open (SIM_DESC sd, const char *, int);
|
||||
|
||||
int sim_io_lseek (SIM_DESC sd, int, long, int);
|
||||
int64_t sim_io_lseek (SIM_DESC sd, int, int64_t, int);
|
||||
|
||||
int sim_io_isatty (SIM_DESC sd, int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user