diff options
Diffstat (limited to 'libctf')
-rw-r--r-- | libctf/ChangeLog | 6 | ||||
-rw-r--r-- | libctf/testsuite/lib/ctf-lib.exp | 4 | ||||
-rw-r--r-- | libctf/testsuite/libctf-regression/nonstatic-var-section-ld-r.lk | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 51ecc85..979c6c5 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,11 @@ 2021-05-06 Nick Alcock <nick.alcock@oracle.com> + * testsuite/lib/ctf-lib.exp: Use -gctf, not -gt. + * testsuite/libctf-regression/nonstatic-var-section-ld-r.lk: + Hidden symbols now get into the symtypetab anyway. + +2021-05-06 Nick Alcock <nick.alcock@oracle.com> + * ctf-open.c (init_types): Unknown types may have names. * ctf-types.c (ctf_type_resolve): CTF_K_UNKNOWN is as non-representable as type ID 0. diff --git a/libctf/testsuite/lib/ctf-lib.exp b/libctf/testsuite/lib/ctf-lib.exp index 2f1742c..0fb0958 100644 --- a/libctf/testsuite/lib/ctf-lib.exp +++ b/libctf/testsuite/lib/ctf-lib.exp @@ -197,10 +197,10 @@ proc run_lookup_test { name } { set lookup_flags "" if { $run_ld } { set lookup_output "tmpdir/out.so" - set lookup_flags "-gt -fPIC $shared $opts(link_flags)" + set lookup_flags "-gctf -fPIC $shared $opts(link_flags)" } else { set lookup_output "tmpdir/out.o" - set lookup_flags "-gt -fPIC -c" + set lookup_flags "-gctf -fPIC -c" } if [board_info [target_info name] exists cflags] { append lookup_flags " [board_info [target_info name] cflags]" diff --git a/libctf/testsuite/libctf-regression/nonstatic-var-section-ld-r.lk b/libctf/testsuite/libctf-regression/nonstatic-var-section-ld-r.lk index 68c777f..7e31a37 100644 --- a/libctf/testsuite/libctf-regression/nonstatic-var-section-ld-r.lk +++ b/libctf/testsuite/libctf-regression/nonstatic-var-section-ld-r.lk @@ -4,4 +4,3 @@ # link_flags: -Wl,--ctf-variables -r foo is of type [0-9a-f]* bar is of type [0-9a-f]* -foo missing from the data object section |