This is the mail archive of the
mailing list for the binutils project.
Old PLT in elf64-alpha via ld --traditional-format?
- To: <binutils at sources dot redhat dot com>
- Subject: Old PLT in elf64-alpha via ld --traditional-format?
- From: Todd Vierling <tv at wasabisystems dot com>
- Date: Fri, 9 Feb 2001 12:00:29 -0500 (Eastern Standard Time)
NetBSD uses the old-style three-word PLT entries in its shared objects and
dynamically linked programs, resulting in a hack to elf64-alpha.c for
NetBSD/alpha. We will be moving to the new PLT format in later NetBSD
releases, but in order to keep compatibility in the toolchain (and make
newer binutils still work on older released NetBSD systems), I wanted to
come up with a dynamic way to produce the old style PLT at link time.
At the moment, nothing in the elf64-alpha BFD target makes use of
BFD_TRADITIONAL_FORMAT, meaning that "ld --traditional-format" does nothing
special on the alpha. Would there be serious objection to making this
produce binaries from ld which use the old PLT format?
-- Todd Vierling <email@example.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/