Fix PR target/96607
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 26 Nov 2020 15:38:35 +0000 (16:38 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 26 Nov 2020 15:42:31 +0000 (16:42 +0100)
commit294e72e9acbd0ff15ef5b18895de62cc173464ca
treed8a968d71b7638a2e697876b9eb026b45f61d2d7
parenta3ebc13492ff238873f2c6a7a3e51abefec1d052
Fix PR target/96607

After 15 years trying to find out what can go into the delay slot of
the call to __tls_get_addr with the Solaris linker, it's now time to
concede defeat and consider it as not to be filled.

gcc/ChangeLog:
PR target/96607
* config/sparc/sparc-protos.h (eligible_for_call_delay): Delete.
* config/sparc/sparc.c (eligible_for_call_delay): Likewise.
* config/sparc/sparc.md (in_call_delay): Likewise.
(tls_delay_slot): New attribute.
(define_delay [call]): Use in_branch_delay.
(tgd_call<P:mode>): Set type to call_no_delay_slot when
tls_delay_slot is false.
(tldm_call<P:mode>): Likewise.
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md