mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
69ee6ab254
ld/ * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2. (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void. (get_symbols): Add def_ironly_exp param. Return that value for syms exported from shared libs. (get_symbols_v1, get_symbols_v2): New wrapper functions. * testplug.c: Update for above changes. ld/testsuite/ * ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d, * ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d, * ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d, * ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update.
24 lines
827 B
Makefile
24 lines
827 B
Makefile
Hello from testplugin.
|
|
.*: LDPT_MESSAGE func@0x.*
|
|
.*: LDPT_API_VERSION value 0x1 \(1\)
|
|
.*: LDPT_GNU_LD_VERSION value 0x.*
|
|
.*: LDPT_LINKER_OUTPUT value 0x1 \(1\)
|
|
.*: LDPT_OUTPUT_NAME 'tmpdir/main.x'
|
|
.*: LDPT_REGISTER_CLAIM_FILE_HOOK func@0x.*
|
|
.*: LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK func@0x.*
|
|
.*: LDPT_REGISTER_CLEANUP_HOOK func@0x.*
|
|
.*: LDPT_ADD_SYMBOLS func@0x.*
|
|
.*: LDPT_GET_INPUT_FILE func@0x.*
|
|
.*: LDPT_RELEASE_INPUT_FILE func@0x.*
|
|
.*: LDPT_GET_SYMBOLS func@0x.*
|
|
.*: LDPT_GET_SYMBOLS_V2 func@0x.*
|
|
.*: LDPT_ADD_INPUT_FILE func@0x.*
|
|
.*: LDPT_ADD_INPUT_LIBRARY func@0x.*
|
|
.*: LDPT_SET_EXTRA_LIBRARY_PATH func@0x.*
|
|
.*: LDPT_OPTION 'registerallsymbolsread'
|
|
.*: LDPT_OPTION 'failallsymbolsread'
|
|
.*: LDPT_NULL value 0x0 \(0\)
|
|
#...
|
|
.*ld.*:.*ldtestplug.*: plugin reported error after all symbols read
|
|
#...
|