gas obj-multi experiences? (and small gas/Makefile.am patch)

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed May 17 09:23:00 GMT 2000


I'm on my way to add ELF for CRIS.

Perhaps I should submit ye olde a.out port first, but I'm
inclined not to, unless maintainers insist, since some stuff will
have to be modified for ELF anyway.

Over to the real issue:
I'd like to make it simple to generate both a.out and ELF from
the same compiler-tools installation, using command-line options.

I believe having a single gas would simplify this greatly.  I
didn't think it was possible, but it looks like I can actually
make a single gas executable target both ELF and a.out (i386 and
mips currently), but there's not a peep about it in
internals.texi.  Perhaps it's work in progress or I've
misunderstood something.

Does anyone have any experience with trying this?
Alan? (Modra, the last person touching this, the ChangeLog tells.)

Any comments beside "foo" :-) ?  (from obj-multi.c)
Will it hurt, or just sting a little bit?
Is it Currently a Bad Idea?

And while I'm here, my sincere thanks and best wishes to Ian.
Please don't go too far away.
Welcome to the throne, Nick, and good luck keeping large and
small contributors in line. ;-)

Speaking of Very Small contributions, there is (was) a file
config/te-multi.h mentioned in gas/Makefile.am but which is
deleted from CVS.  It says it's replaced/identical to
te-generic.h.

Ok to commit?

Wed May 17 16:58:50 2000  Hans-Peter Nilsson  <hp@axis.com>

	* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h
	* Makefile.in: Regenerated.

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.20
diff -p -c -r1.20 Makefile.am
*** Makefile.am	2000/05/17 14:24:25	1.20
--- Makefile.am	2000/05/17 14:59:04
*************** TARG_ENV_HFILES = \
*** 328,334 ****
  	config/te-lynx.h \
  	config/te-mach.h \
  	config/te-macos.h \
- 	config/te-multi.h \
  	config/te-nbsd.h \
  	config/te-nbsd532.h \
  	config/te-pc532mach.h \
--- 331,336 ----

brgds, H-P


More information about the Binutils mailing list