Home | History | Annotate | Download | only in vax
History log of /src/libexec/ld.elf_so/arch/vax/rtld_start.S
RevisionDateAuthorComments
 1.25  03-Aug-2024  riastradh ld.elf_so(1): Nix trailing whitespace.

No functional change intended.
 1.24  17-Aug-2014  matt Add proper registers for register counts.
 1.23  17-Aug-2014  matt add a missing register prefix.
 1.22  22-Mar-2014  matt branches: 1.22.4;
Make sure r1 is preserved _rtld_bind_start.
 1.21  21-Mar-2014  matt Simplify. If we got called via a calls $n, *pcrel32, instead of constructing
a new stack frame, back up the PC by 7 and return back to the calls so it
will be reinvoked. (This is by far the most common way it gets invoked).
Otherwise rebuild a new callframe and jump to the routine.
 1.20  19-Mar-2014  joerg Save actual start of function, not address of entry mask on the stack.
 1.19  19-Mar-2014  matt Fix two bugs. (jump past entry mask, fix insv)
 1.18  19-Mar-2014  matt Once we know the bound routine, rebuilt a new callframe that can be unwound
properly.
 1.17  18-Mar-2014  matt Add .cfi ops so that one can unwind through this.
 1.16  02-Mar-2003  mycroft branches: 1.16.54; 1.16.60;
Shorten rtld_start() slightly -- there's a base-relative _DYNAMIC pointer at
the beginning of the GOT, so we don't need an extra one here. Also, remove a
bogus comment -- we do in fact have to do fixups, because there are pointers in
ld.elf_so's data segment that need to be relocated.
 1.15  05-Oct-2002  mycroft Minor cleanup.
 1.14  27-Sep-2002  mycroft We don't need to save r7, either...
 1.13  27-Sep-2002  mycroft Put back the short-circuiting code -- Matt claims there are functions that rely
on it.
OTOH, don't bother saving r6 a second time.
 1.12  27-Sep-2002  mycroft 1) There is no reason to flush the I$ here, given that we do not modify any
instructions. Function calls use GOT indirection, and we only patch the
GOT.
2) The mask-comparison optimization always fails, because the saved mask
always has 0x2000 set, and the PLT stub mask never does. So, remove it.
 1.11  27-Sep-2002  mycroft Save one more instruction.
 1.10  26-Sep-2002  mycroft Save relocbase in %r10, not %r1.
Also, save one instruction.
 1.9  26-Sep-2002  mycroft Implement a self-relocate function for the VAX.
 1.8  12-Sep-2002  mycroft Figure out the relocation offset and pass it to _rtld().
 1.7  24-Feb-2002  matt branches: 1.7.2;
Change to use a register prefix.
 1.6  07-Aug-2000  matt Simplify some stuff.
 1.5  17-Jul-2000  matt More VAX ELF changes.
 1.4  14-Jul-2000  matt No need for RELOCATE_SELF since the VAX does real PIC. Rewrite the bind
routine to deal with JMP .vs. CALLx differences.
 1.3  03-Jul-2000  matt Update to current <machine/asm.h>
 1.2  22-May-2000  matt minor fix now that i've defined the plt0 entry.
 1.1  21-Aug-1999  matt Initial VAX ELF32 support (mostly untested). It's checked primarily for
testing and archival for now. I don't expect anyone to work with it
since the binutils and gas changes are still pending. But you got to
crawl before you walk.
 1.7.2.1  28-May-2004  tron Apply patch (request by skrll in ticket #1702):
Bring "ld.elf_so" (mostly) in sync with NetBSD-current:
- MI and MD (e.g. under NetBSD-alpha) performance improvements
- RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT support
- much better structured code
- closes PR bin/25464
 1.16.60.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.54.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.22.4.1  20-Aug-2014  martin Pullup the following to netbsd-7 (requested by matt in ticket #37):
external/gpl3/gcc/dist/gcc/config/vax/builtins.md 1.4
external/gpl3/gcc/dist/gcc/config/vax/vax.c 1.10
Rework so that the ctzsi builtin is supported.

lib/libc/compiler_rt/Makefile.inc 1.26
VAX does need __clzsi2

libexec/ld.elf_so/arch/vax/rtld_start.S 1.23
libexec/ld.elf_so/arch/vax/rtld_start.S 1.24
add a missing register prefix.
Add proper registers for register counts.

RSS XML Feed