15f7a26b0f
This patch adds the initial support for LDPT_GET_VIEW. ld/ PR ld/17878 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. (get_view): New function. (set_tv_header): Handle LDPT_GET_VIEW. * testplug.c (tag_names): Add LDPT_GET_VIEW. (tv_get_view): New. (dump_tv_tag): Handle LDPT_GET_VIEW. (parse_tv_tag): Likewise. ld/testsuite/ PR ld/17878 * ld-plugin/plugin-1.d: Add LDPT_GET_VIEW. * ld-plugin/plugin-10.d: Likewise. * ld-plugin/plugin-11.d: Likewise. * ld-plugin/plugin-2.d: Likewise. * ld-plugin/plugin-3.d: Likewise. * ld-plugin/plugin-4.d: Likewise. * ld-plugin/plugin-5.d: Likewise. * ld-plugin/plugin-6.d: Likewise. * ld-plugin/plugin-7.d: Likewise. * ld-plugin/plugin-8.d: Likewise. * ld-plugin/plugin-9.d: Likewise.
21 lines
704 B
Makefile
21 lines
704 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_GET_VIEW 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_NULL value 0x0 \(0\)
|
|
#...
|