This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: Can we have elf64_sparc on sparc-*-linux-gnu*?


On Dec  9, 1999, Jakub Jelinek <jakub@redhat.com> wrote:

> On Thu, Dec 09, 1999 at 04:51:15PM -0200, Alexandre Oliva wrote:
>> If I build binutils with sparc64-*-linux-gnu*, it will produce 64bit
>> code by default, and gcc will only tell ld to generate elf32_sparc; no
>> -32 flag is passed to gas, so it will generate elf64_sparc object
>> files, and ld will complain about them.

> Strange. gcc should always pass -32/-64 flags to gas, at least if you don't
> use ancient version. I've just checked egcs 1.1.2 in rh6.1 and it has -32
> and -m elf32_sparc everywhere in the specs.

This must be a RH hack, that was never contributed to gcc, which was
probably deemed necessary because you ship RH6.1 with a 32/64
binutils.  GCC up to the current CVS version only passes -m
elf32_sparc to the linker, but not -32 to the assembler.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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