diff options
author | Pavel Kozlov <pavel.kozlov@synopsys.com> | 2022-09-20 20:54:20 +0400 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-09-27 12:03:15 +0200 |
commit | 1f891b5655a6e3bd8c2beb0768ee97e8dcc3c9c0 (patch) | |
tree | bb0fc174467e1af44db50e12500581c2eb6bac42 /test/tls/tst-tls-at-ctor.c | |
parent | 0bd32f727316c99569e19ae60790f29cc6770db6 (diff) |
arc: fix TLS_GD macro, bad clobber list
Move function call outside the inline asm code to simplify a clobber list.
The patch fixes tests tst-tls7 and tst-tls8 on ARCv3, they didn't pass
because cc was not in clobber list and bad code was generated. The
compiler didn't take in account changes of CPU Condition flags.
Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
Diffstat (limited to 'test/tls/tst-tls-at-ctor.c')
0 files changed, 0 insertions, 0 deletions