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]
Other format: [Raw text]

[PATCH]: Add sh*-*-netbsdelf* targets


The following patch adds support for NetBSD SuperH targets using ELF.
Note that like Linux, NetBSD's SuperH ELF targets do not use a leading
underscore in user-visible symbols (the idea being consistency with
other NetBSD ELF targets).


	[ for bfd/ChangeLog ]
2001-12-20  Jason Thorpe  <thorpej@wasabisystems.com>

	* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
	(BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
	(elf32-sh-nbsd.lo): New rule.
	* Makefile.in: Regenerate.
	* config.bfd (sh*le-*-netbsdelf*): New target.
	(sh*-*-netbsdelf*): New target.
	* configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
	(bfd_elf32_shnbsd_vec): New vector.
	(bfd_elf32_shlnbsd_vec): New vector.
	* configure: Regenerate.
	* elf32-sh-nbsd.c: New file.
	* targets.c (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec
	and bfd_elf32_shnbsd_vec.


	[ for gas/ChangeLog ]
2001-12-20  Jason Thorpe  <thorpej@wasabisystems.com>

	* configure.in (sh*le): Set cpu_type=sh and endian=little.
	(sh*-*-netbsdelf*): New target.
	* configure: Regenerate.
	* tc-sh.h (TARGET_FORMAT): Add version for TE_NetBSD.


	[ for ld/ChangeLog ]
2001-12-20  Jason Thorpe  <thorpej@wasabisystems.com>

	* Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
	(eshelf_nbsd.c): New rule.
	(eshlelf_nbsd.c): New rule.
	* Makefile.in: Regenerate.
	* configure.tgt (sh*le-*-netbsdelf*): New target.
	(sh*-*-netbsdelf*): New target.
	* emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
	* ld/emulparams/shelf_nbsd.sh: New emulation.
	* ld/emulparams/shlelf_nbsd.sh: New emulation.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: JRT-patch6
Description: patch6


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