view portasm/gen-masm.sh @ 314:b2e4e23d9953

- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid - dynload_plain test * now testing getting exec's path * workdir independent
author Tassilo Philipp
date Wed, 06 Nov 2019 12:32:53 +0100
parents 3e629dc19168
children ab2d78e48ca2
line wrap: on
line source

#!/bin/sh
gcc -E -P -DGEN_MASM $1.S >$1.asm