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]

embedded sparc using -Qy on as invocation



Hi,

I have checked out everything (binutils, gcc, newlib, gdb) from CVS
and am trying to build sparc-rtems (elf). It is invoking the assembler
with -Qy which worked with binutils 2.10.  I ran into when gcc was
trying to build crti.o

Configuration:

../src/configure --prefix=/usr2/test-gcc/install --target=sparc-rtems \
  --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads


bash$ ../gas/as-new -Qy -s -o crti.o
../../src/gcc/config/sparc/sol2-ci.asm
../gas/as-new: unrecognized option `-Qy'

bash$ sparc-rtems-as -Qy -s -o crti.o
../../src/gcc/config/sparc/sol2-ci.asm

bash$ sparc-rtems-as --version
GNU assembler 2.10
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
This assembler was configured for a target of `sparc-rtems'.
bash$ ../gas/as-new --version
GNU assembler 2.10.91
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
This assembler was configured for a target of `sparc-rtems'.
bash$ 

This is the change to gas/configure.in required to make elf the
default for sparc-rtems.

ndex: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.46
diff -c -r1.46 configure.in
*** configure.in        2000/11/07 01:21:10     1.46
--- configure.in        2000/11/22 13:45:26
***************
*** 382,388 ****
        ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532
;;
        ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;

!       sparc-*-rtems*)       fmt=aout ;;
        sparc-*-sunos4*)      fmt=aout em=sun3 ;;
        sparc-*-aout | sparc*-*-vxworks*)
                            fmt=aout em=sparcaout ;;
--- 385,393 ----
        ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532
;;
        ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;

!       sparc-*-rtemsaout*)   fmt=aout ;;
!       sparc-*-rtemself*)    fmt=elf ;;
!       sparc-*-rtems*)       fmt=elf ;;
        sparc-*-sunos4*)      fmt=aout em=sun3 ;;
        sparc-*-aout | sparc*-*-vxworks*)
                            fmt=aout em=sparcaout ;;


I don't see any changes to gas/config/tc-sparc.c since binutils 2.10.1
that would matter.  Any ideas?


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

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