kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

03-dynamic-rpath.sh (497B)


      1 # Golden: `-f` + `-p` over a minimal aarch64 ET_DYN shared object carrying a
      2 # DT_RUNPATH (rpath.so; regenerate with gen_rpath.py). Locks in:
      3 #   -f  the DYNAMIC kind flag (vs EXEC_P in 01-image-headers)
      4 #   -p  the RPATH line in the Dynamic Section
      5 # kit can't emit a shared object yet, so the fixture is hand-built and
      6 # committed (like test/dwarf/dwarf.o). Copied to a fixed name so the
      7 # file-format label is deterministic.
      8 cp "$(dirname "$0")/rpath.so" rpath.so
      9 "$KIT" objdump -f -p rpath.so