This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: ELF header files


On Dec  3 16:11, Corinna Vinschen wrote:
> On Dec  3 15:17, Sebastian Huber wrote:
> > On 12/03/2010 02:53 PM, Ralf Corsepius wrote:
> > > On 12/03/2010 02:15 PM, Sebastian Huber wrote:
> > >> Hi,
> > >>
> > >> is it possible to add some ELF header files to Newlib, or is this
> > >> undesirable?
> > > 
> > > In general, everything which relies upon machine/toolchain internals is
> > > undesirable and is best avoided.
> > 
> > The GNU C library elf.h has everything in one file (e.g. relocation types for
> > various architectures).  Under BSD this architecture dependent stuff is split
> > up into different files.  It is possible to merge all these files into a big one.
> > 
> > Is it possible to use the GNU C library elf.h?  It uses GPL v2.1+.
> 
> I don't think it's a good idea to add elf.h or elf.h-like headers to
> newlib at all.  Newlib is often used within the same source tree as BFD,
> binutils, GCC and GDB.  Part of these source trees is the GNU elf.h file
> in the include subdir, parallel to the newlib subdir.

Erm... hang on.  I'm apparently confused as far as the place of the elf.h
header is concerned.  It's not in the include dir.  Scratch my comment.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


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