diff options
| author | junyoung <junyoung@NetBSD.org> | 2002-12-14 09:13:00 +0000 |
|---|---|---|
| committer | junyoung <junyoung@NetBSD.org> | 2002-12-14 09:13:00 +0000 |
| commit | 9e11602ee9e032b61ebb6df0bb5d0c1f9f33a3d7 (patch) | |
| tree | 33a892b1e9d5ae512c60dc5b6476a9684a6d8031 /libexec | |
| parent | ef2ce0a66dfd68773a0e0474bb2b8bc0ddce0264 (diff) | |
Remove comment which is not true any more. alpha and i386 support
R_xxx_COPY relocations.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/reloc.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libexec/ld.elf_so/reloc.c b/libexec/ld.elf_so/reloc.c index 1b579b53ee5..8a0e46b0741 100644 --- a/libexec/ld.elf_so/reloc.c +++ b/libexec/ld.elf_so/reloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: reloc.c,v 1.77 2002/11/25 19:49:25 mycroft Exp $ */ +/* $NetBSD: reloc.c,v 1.78 2002/12/14 09:13:00 junyoung Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -55,15 +55,6 @@ #ifndef RTLD_INHIBIT_COPY_RELOCS static int _rtld_do_copy_relocation __P((const Obj_Entry *, const Elf_Rela *)); -/* - * XXX: These don't work for the alpha and i386; don't know about powerpc - * The alpha and the i386 avoid the problem by compiling everything PIC. - * These relocation are supposed to be writing the address of the - * function to be called on the bss.rel or bss.rela segment, but: - * - st_size == 0 - * - on the i386 at least the call instruction is a direct call - * not an indirect call. - */ static int _rtld_do_copy_relocation(dstobj, rela) const Obj_Entry *dstobj; |
