delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/11/21:56:38

From: Cesar Rabak <csrabak AT uol DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: Strange text in non stripped header files
Date: Sun, 11 Mar 2001 23:48:11 -0300
Lines: 21
Message-ID: <3AAC38EB.D71AC69E@uol.com.br>
NNTP-Posting-Host: 200-221-14-196.dsl-sp.uol.com.br (200.221.14.196)
Mime-Version: 1.0
X-Trace: fu-berlin.de 984365341 2027709 200.221.14.196 (16 [39218])
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: pt-BR,es,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Using:

gcc version 2.952, binary size 237112 bytes and dated Jan 14 2000, and 
ld version 2.9.5, binary size 406016  bytes and dated Feb 28 2000.

After compiling a relatevely large source file 267652 bytes, I'm getting
a strange result when creating programs w/o stripping. Namely in the
start of the a.out file it is possible to find a part of a text which
seems to be part of a gxxFAQ.info! The strange text starts at offset
0xa8 and goes up to 0x10a7.

It doesn't happen when one compiles a 'hello world' type of programm, so
it may be difficult to reproduce*.
Did you notice this before? Can it be considered 'normal'?

TIA

Cesar

(*) The source being compiled is the Per Bergsten's 'ptc' utility
(comp.unix.sources vol. 10 and patches in vol 13 [ref. in the C FAQ]).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019