1 Hello from testplugin. 2 .*: LDPT_MESSAGE func@0x.* 3 .*: LDPT_API_VERSION value 0x1 \(1\) 4 .*: LDPT_GNU_LD_VERSION value 0x.* 5 .*: LDPT_LINKER_OUTPUT value 0x1 \(1\) 6 .*: LDPT_OUTPUT_NAME 'tmpdir/main.x' 7 .*: LDPT_REGISTER_CLAIM_FILE_HOOK func@0x.* 8 .*: LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK func@0x.* 9 .*: LDPT_REGISTER_CLEANUP_HOOK func@0x.* 10 .*: LDPT_ADD_SYMBOLS func@0x.* 11 .*: LDPT_GET_INPUT_FILE func@0x.* 12 .*: LDPT_GET_VIEW func@0x.* 13 .*: LDPT_RELEASE_INPUT_FILE func@0x.* 14 .*: LDPT_GET_SYMBOLS func@0x.* 15 .*: LDPT_GET_SYMBOLS_V2 func@0x.* 16 .*: LDPT_ADD_INPUT_FILE func@0x.* 17 .*: LDPT_ADD_INPUT_LIBRARY func@0x.* 18 .*: LDPT_SET_EXTRA_LIBRARY_PATH func@0x.* 19 .*: LDPT_OPTION 'registerclaimfile' 20 .*: LDPT_OPTION 'registerallsymbolsread' 21 .*: LDPT_OPTION 'registercleanup' 22 .*: LDPT_OPTION 'claim:.*/ld/testsuite/ld-plugin/func.c' 23 .*: LDPT_OPTION 'sym:_?func::0:0:0' 24 .*: LDPT_OPTION 'sym:_?func2::0:0:0' 25 .*: LDPT_OPTION 'dumpresolutions' 26 .*: LDPT_OPTION 'add:tmpdir/func.o' 27 .*: LDPT_NULL value 0x0 \(0\) 28 #... 29 hook called: claim_file tmpdir/main.o \[@0/.* not claimed 30 hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED 31 hook called: claim_file tmpdir/text.o \[@0/.* not claimed 32 #... 33 hook called: all symbols read. 34 Sym: '_?func' Resolution: LDPR_PREVAILING_DEF 35 Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY 36 hook called: cleanup. 37 #... 38