This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make gcov counters 64bit take 2


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> There are probably two cases here: native (for PDP-10) and cross
> (for C4X).  What format are binary files written to from C on these
> targets?  (The C standard models binary files as sequences of
> (C-level target) bytes, but I don't know what runtime these targets
> use.)

I expect that the C library on the PDP-10 will view a binary file as a
sequence of 9-bit bytes.

> What happens to such files when transferred to a conventional 8-bit
> byte host?

When transferred by FTP binary image transfer type, 8 9-bit bytes
will map into 9 8-bit bytes.  The end of the file will be padded
with zero bits to the nearest 8-bit boundary.

-- 
http://lars.nocrew.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]