This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: make gcov counters 64bit take 2
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: make gcov counters 64bit take 2
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- Date: 15 Jun 2001 14:55:17 +0200
- Cc: Jan Hubicka <jh at suse dot cz>, <gcc-patches at gcc dot gnu dot org>, <rth at cygnus dot com>
- Organization: nocrew
- References: <Pine.LNX.4.33.0106151313200.509-100000@kern.srcf.societies.cam.ac.uk>
"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/