diff options
| author | David Boddie <david@boddie.org.uk> | 2024-05-15 19:24:11 +0200 |
|---|---|---|
| committer | David Boddie <david@boddie.org.uk> | 2024-05-15 19:24:11 +0200 |
| commit | faaedd81819c5dc2f0163a2f5232363a97788c44 (patch) | |
| tree | 884cdd521a7450e78e5f7bb5a6aece3413cc4a19 | |
| parent | 5067b8b52473fb5c299870ac1055a2bba4d48d3d (diff) | |
Added a check to enable Thumb-2 floating point code to be treated differently
to Thumb code. This requires Thumb-2 builds to pass the -2 option to tl.
| -rw-r--r-- | utils/tl/obj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/tl/obj.c b/utils/tl/obj.c index 6cc64dc0..ff7290eb 100644 --- a/utils/tl/obj.c +++ b/utils/tl/obj.c @@ -1482,7 +1482,9 @@ static void puntfp(Prog *p) { USED(p); - return; + // Don't punt on Thumb-2 floating point. + if(debug['2']) return; + /* floating point - punt for now */ curtext->reg = NREG; /* ARM */ curtext->from.sym->thumb = 0; |
