Commit Graph

24357 Commits

Author SHA1 Message Date
florian
e694897bb3 * initial implementation of CFI support for arm (non-thumb)
git-svn-id: trunk@48684 -
2021-02-15 21:34:07 +00:00
florian
a3d68e6839 * arm thumb: generate proper cfi
git-svn-id: trunk@48678 -
2021-02-14 21:26:41 +00:00
florian
44856e660c * ARM: NR_RETURN_ADDRESS_REG is R14
git-svn-id: trunk@48677 -
2021-02-14 21:25:36 +00:00
florian
c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed
git-svn-id: trunk@48676 -
2021-02-14 21:25:01 +00:00
florian
0316a7697f * arm thumb1: several fixes for the internal assembler writer
git-svn-id: trunk@48675 -
2021-02-14 17:52:26 +00:00
florian
33ce19799b * forgotten part of last commit
git-svn-id: trunk@48674 -
2021-02-14 17:15:37 +00:00
florian
f1883c4e61 * arm: taicpu uses set instead of boolean to store instruction states
+ track if an instruction is a thumb instruction in taicpu

git-svn-id: trunk@48673 -
2021-02-14 15:51:48 +00:00
florian
a4b35d16f2 + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported
git-svn-id: trunk@48672 -
2021-02-13 22:17:35 +00:00
florian
dda9f83dfe * factored out tbasecgarm.init_mmregister_allocator
git-svn-id: trunk@48671 -
2021-02-13 22:16:59 +00:00
florian
87e1dc159d * do not mess with FPA registers if they are not available
git-svn-id: trunk@48669 -
2021-02-13 17:04:03 +00:00
florian
50bc387688 * handle -Ca (as proposed by Michael Ring) and -Cf in the first option pass as well
git-svn-id: trunk@48668 -
2021-02-13 14:37:07 +00:00
Jonas Maebe
03bfe3234d * correctly handle multiple codesign binaries in the PATH
git-svn-id: trunk@48664 -
2021-02-13 08:19:30 +00:00
florian
98a748bdd6 + patch by Dimitrios Chr. Ioannidis: include dwar-3 sections in avr-embedded linker script
git-svn-id: trunk@48659 -
2021-02-12 21:39:31 +00:00
yury
afc80a84cf * Fixed r48650.
git-svn-id: trunk@48657 -
2021-02-12 11:26:37 +00:00
florian
7f1aac8bd7 - armv5 never existed (without extension), removed
git-svn-id: trunk@48652 -
2021-02-11 21:27:12 +00:00
florian
1c99c2655e * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475
git-svn-id: trunk@48651 -
2021-02-11 20:51:53 +00:00
yury
4245b20a32 * Fixed expectloc of local variables passed as a formal parameter. This issue is caught by cycling the compiler with -dEXTDEBUG. Yet the compiler can't cycle with EXTDEBUG due to other issues with wrong expectloc.
git-svn-id: trunk@48650 -
2021-02-11 10:39:41 +00:00
florian
3b49e95415 * do not initialize unncessary register allocators
git-svn-id: trunk@48628 -
2021-02-10 19:52:52 +00:00
florian
ecce39a3b2 + throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439
git-svn-id: trunk@48563 -
2021-02-09 20:48:27 +00:00
Károly Balogh
ada3d2050c m68k: write inline floating point immediates as hex consts, instead of scientific notation. the scientific notation format parsing depends on the libc the assembler was linked against, which can lead to varying results and compile errors
git-svn-id: trunk@48524 -
2021-02-08 05:01:45 +00:00
Károly Balogh
d0178f7ae0 m68k: fix a_loadfpu_ref_reg to call a_loadfpu_reg_reg instead of a_load_reg_reg. made a_loadfpu_reg_reg internalerror on invalid target sizes when loading to a different reg size
git-svn-id: trunk@48523 -
2021-02-08 04:12:21 +00:00
Károly Balogh
77fee8b4eb m68k: do not use OS_NO for FPU locations, but properly promote location sizes into the CG
git-svn-id: trunk@48522 -
2021-02-08 04:07:04 +00:00
Jonas Maebe
91d877919e * strip codesignature when comparing compiler binaries on Darwin
o fixes non-converging "make cycle" on macOS/AArch64 with DEBUG=1

git-svn-id: trunk@48518 -
2021-02-07 14:40:14 +00:00
florian
539a578cce * create \index entries in the messages.inc for an index of message texts and numbers in the user manual
git-svn-id: trunk@48517 -
2021-02-06 16:59:02 +00:00
florian
d0910b5ac8 * allow sub/add nodes in constant pointer expressions, resolves #34027
git-svn-id: trunk@48514 -
2021-02-05 22:10:27 +00:00
florian
1e960a9aeb * the size of the CIE_pointer in an FDE is always 32 bit
git-svn-id: trunk@48507 -
2021-02-03 20:05:56 +00:00
florian
8b24d60df7 * removed accidently committed printnode
git-svn-id: trunk@48464 -
2021-01-31 13:19:55 +00:00
florian
8496690ed0 * additional fix for r48449
git-svn-id: trunk@48461 -
2021-01-30 22:47:38 +00:00
florian
4bec57702f * handle generic with ord call of sub-range and enumeration data excluding 0 correctly, resolves #38412
git-svn-id: trunk@48452 -
2021-01-29 21:31:59 +00:00
florian
e99827246e * fix type conversion for array indicies if the ordinal ranges of the involved types do not overlap, resolves #38413
git-svn-id: trunk@48449 -
2021-01-28 20:56:15 +00:00
florian
e5002dd291 * updated copyright year to 2021
git-svn-id: trunk@48432 -
2021-01-26 22:03:17 +00:00
Károly Balogh
67fcf0f03e m68k: revert r48224, the fix proposed in that patch was just hiding an underlying issue
git-svn-id: trunk@48415 -
2021-01-25 00:42:01 +00:00
Károly Balogh
10fa12bbae m68k: take rounding requirements into account in a_loadfpu_reg_reg and a_loadfpu_ref_reg
git-svn-id: trunk@48414 -
2021-01-25 00:27:59 +00:00
Károly Balogh
da1746426b m68k: do not optimize away fmove fpureg0, intreg0; fmove intreg0; fpureg0; constructs, they're used for rounding to single on FPUs with no resultprecision encoding
git-svn-id: trunk@48413 -
2021-01-25 00:12:53 +00:00
florian
0ab4515e58 * properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385
git-svn-id: trunk@48411 -
2021-01-24 21:32:27 +00:00
florian
0b76059b37 * use generic VFP type instead of VFP list prone to changes
git-svn-id: trunk@48410 -
2021-01-24 21:13:41 +00:00
florian
5950a5f97b * compiler utils cannot depend on StrUtils
git-svn-id: trunk@48408 -
2021-01-24 18:07:13 +00:00
yury
6975437da8 * rgobj: ungetiftemp can't be used here since it frees only temps of the tt_normal type.
git-svn-id: trunk@48407 -
2021-01-24 17:53:42 +00:00
florian
e5c6e91bd0 + write message number to docs
+ enclose arguments in text angles

git-svn-id: trunk@48406 -
2021-01-24 17:43:15 +00:00
florian
91649eb2e5 * missing programs added to rules, so make clean works better
git-svn-id: trunk@48404 -
2021-01-24 17:40:02 +00:00
Jonas Maebe
9df70f08b1 * fix linker map generation on Darwin
git-svn-id: trunk@48401 -
2021-01-24 17:15:40 +00:00
pierre
268f7bfb5c Add cs_generate_uf2 entry into ppudump
git-svn-id: trunk@48398 -
2021-01-24 14:45:25 +00:00
florian
225eb8ed12 * do not output error numbers for options
git-svn-id: trunk@48397 -
2021-01-24 14:34:02 +00:00
yury
04727844b5 * Fixed value of the LF_PAD13 enum element.
git-svn-id: trunk@48396 -
2021-01-24 14:29:39 +00:00
yury
2567631aad * Removed in_x86mm_last (the duplicate no and unused) from the tinlinenumber enum.
git-svn-id: trunk@48395 -
2021-01-24 14:28:49 +00:00
florian
1f49e633b6 + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file
git-svn-id: trunk@48394 -
2021-01-24 14:21:03 +00:00
yury
9b1567f054 * Corrected method's visibility.
git-svn-id: trunk@48393 -
2021-01-24 14:06:35 +00:00
yury
4fa99cff62 * Removed more assigned but unused vars.
git-svn-id: trunk@48392 -
2021-01-24 14:05:21 +00:00
yury
75491ae21c * Removed/ifdefed the assigned and unused variables.
git-svn-id: trunk@48391 -
2021-01-24 13:58:17 +00:00
yury
0ab6b1ab4d * Commented out the unneeded/unfinished code.
git-svn-id: trunk@48390 -
2021-01-24 13:35:32 +00:00