On 19/10/2013 13:05, Nat Sloss wrote:
The following reply was made to PR lib/48324; it has been noted by GNATS. From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost> To: gnats-bugs%netbsd.org@localhost Cc: Subject: Re: lib/48324: ld.elf_so - tty.c memcpy overwrites tcb for tls variant 2 Date: Sat, 19 Oct 2013 22:35:17 +1100 Hi > Typically I create a ld.dbg_so and point the program at that so I don't > hose my system.How do I point the program at the debug ld_elf.so (I've updated the sources,set the build flags and built it.)
Use your favourite editor to change the program. You could relink using --dynamic-linker= , but that's probably harder
Nick