This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: i386-pc-nto-qnx patch
- From: "Graeme Peterson" <gp at qnx dot com>
- To: jtc at acorntoolworks dot com
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 19 Apr 2002 20:48:09 -0400 (EDT)
- Subject: Re: i386-pc-nto-qnx patch
>
> "Graeme Peterson" <gp@qnx.com> writes:
> > Here is a patch for i386-pc-nto-qnx for inclusion in
> > GNU binutils. Thanks to all for your help.
>
> > Thanks.
> > Looking forward to any feedback.
>
> You'll need ChangeLog entries for all these changes.
Are these ok? not sure who needs them...
Thanks.
GP
bfd/ChangeLog
===================================================================
2002-04-18 Graeme Peterson <gp@qnx.com>
* Makefile.am: Add elf32-i386qnx.lo and elf32-i386qnx.c.
* Makefile.in: Same.
* config.bfd: Add i[3456]86-*-nto*) support
* configure: Add bfd_elf32_i386qnx_vec support.
* configure.in: Same.
* elf-bfd.h (struct elf_backend_data): Add new backend function
elf_backend_set_nonloadable_filepos.
* elf.c (assign_file_positions_for_segments): Add call to
elf_backend_set_nonloadable_filepos.
* elf.c (copy_private_bfd_data): Add new macro IS_CONTAINED_BY_FILEPOS.
* elf.c (_bfd_elf_copy_private_section_data): Test for
elf_backend_set_nonloadable_filepos function, and if defined don't check
against SEC_ALLOC, and setup the segments anyways.
* elf32-i386.c: Add #ifndef ELF32_I386_C_INCLUDED before including
elf32-target.h to facilitate including elf32-i386.c in other backend files.
* elf32-i386qnx.c: New QNX elf backend file.
* elfxx-target.h: Add elf_backend_set_nonloadable_filepos.
* targets.c: Add bfd_target bfd_elf32_i386qnx_vec.
gas/ChangeLog
===================================================================
2002-04-18 Graeme Peterson <gp@qnx.com>
* configure: Add i386-*-nto*.
* configure.in: Same.
ld/ChangeLog
===================================================================
2002-04-18 Graeme Peterson <gp@qnx.com>
* Makefile.in: Add ei386nto.c.
* configure.tgt: Add i[3456]86-*-nto*).
* i386nto.sh: New file.