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: PATCH: Two PPC fixes (?) for 2.10


On Thu, Apr 06, 2000 at 11:32:02AM -0700, Geoff Keating wrote:
> > Date: Thu, 06 Apr 2000 12:04:35 +0200
> > From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
> 
> > 	* elfppc.sc: Sort constructors, add more stab sections.
> 
> This is OK.  I doubt we actually need the .stab.* stuff,
> though; I understand that's for x86 solaris 2.5 support and last I
> tried it doesn't actually work.  It doesn't cause any harm on other
> systems, though.
> 
> I don't suppose you'd like to try to guess what the _intentional_
> differences between elfppc.sc and elf.sc are, and merge the two
> conditional on some shell variable?  It's really annoying to be
> maintaining two scripts like this.

As the original author of elfppc.sc, I agree it should be junked and merged
with elf.sc.  I will only plead that I didn't really understand the whole
mechanism at the time when I wrote it (5 years ago), and didn't want to break
the main ELF support.  Doing a diff on the two, the elfppc.sc things I see are:

	Support for .rodata, .sbss{,2}, .sdata{,2} sections
	Marking the begin/end of .sbss
	Setting __stack and ___stack to 0 if not otherwise set

-- 
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

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