This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: recent binutils and mips64-linux


On Thu, 2 Oct 2003, Eric Christopher wrote:

> >  Actually the best solution might be using ELF32 (possibly n32) for the
> > output format, which automatically guarantees a 32-bit address space, but
> > use an n64 setup for the gcc's code generator.  This way no change is
> > needed to binutils at all. 
> 
> n32 is ELF64, but marking the binaries with an arbitrary section might
> not be bad.

 Hmm, has it changed recently?

$ echo | mips64el-linux-as -v -n32 -o null.o -
GNU assembler version 2.14 (mips64el-linux) using BFD version 2.14 20030612
$ file null.o
null.o: ELF 32-bit N32 LSB MIPS-III relocatable, MIPS, version 1 (SYSV), not stripped

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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