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_NULL value 0x0 \(0\) 25 #... 26 hook called: claim_file tmpdir/main.o \[@0/.* not claimed 27 hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED 28 hook called: claim_file tmpdir/text.o \[@0/.* not claimed 29 #... 30 hook called: all symbols read. 31 tmpdir/main.o: In function `main': 32 .*main.c.*: undefined reference to `func' 33 hook called: cleanup. 34 #... 35