NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-vax/46715: Relocation in .text section in vax does not work
On Jul 17, 4:00pm, paulkoning%comcast.net@localhost
(paulkoning%comcast.net@localhost) wrote:
-- Subject: port-vax/46715: Relocation in .text section in vax does not work
The bug could be in many places, but not in ld.elf_so:
1. If the source is compiled with -fPIC or -fpic, then it should not emit
R_VAX_32; if it does then it is an assembler bug.
2. If the source is not compiled with -fPIC or -fpic, then it is ok to
emit R_VAX_32, but but then the linker should mark the object with
DT_TEXTREL so that the rtld knows to mmap the text writable before
doing relocations.
Can you investigate who is at fault? The package for not passing -f{PIC,pic}?
The assembler/linker? Both?
christos
Home |
Main Index |
Thread Index |
Old Index