This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Compiler uses a lot of memory for large initialized arrays
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Peter Barada'" <peter at the-baradas dot com>,<nathan at codesourcery dot com>
- Cc: <richard dot guenther at gmail dot com>,<stevenb at suse dot de>,<joseph at codesourcery dot com>,<ian at wasabisystems dot com>,<mark at codesourcery dot com>,<gcc at gcc dot gnu dot org>
- Date: Thu, 2 Dec 2004 17:47:46 -0000
- Subject: RE: Compiler uses a lot of memory for large initialized arrays
> -----Original Message-----
> From: gcc-owner On Behalf Of Peter Barada
> Sent: 02 December 2004 17:30
> So I have to ask how many GCC targets *don't* use GAS? If that is
> very few(to none), then perhaps the best solution is to look into
> modifying GAS to allow backward setting of .org, or is that an even
> bigger problem?
Well, it is an even more bletch-worthy hack than zapping backwards and
forwards in the assembler output overwriting stuff. Wash your mouth out for
even suggesting such a dirty idea!
Plus, gcc is very much supposed to interoperate with a target's native
binutils-equivalents. I quite regularly read posts from people who use it
with Sun's native as/ld on solaris, for example.
cheers,
DaveK
--
Can't think of a witty .sigline today....