Commit Graph

45210 Commits

Author SHA1 Message Date
Jonas Maebe
cc071ded4b * define _CALL_ELF=1 or _CALL_ELF=2 symbol when targeting ppc(64)
ELFv1/ELFv2, like GCC

git-svn-id: trunk@30195 -
2015-03-14 18:35:22 +00:00
Jonas Maebe
05f6660a25 * set the correct dynamic linker for the ppc64 ELFv2 abi
* specify the correct linker emulation to use for ppc64 ELFv2 little endian
  * specify the correct default library directories to search for ELFv2 little
    endian

git-svn-id: trunk@30194 -
2015-03-14 18:35:19 +00:00
Jonas Maebe
3946971c73 * default to ppc64le/elfv2 when compiling on a ppc64le platform
* default to elfv2 abi when targeting ppc64le and no abi has been specified

git-svn-id: trunk@30193 -
2015-03-14 18:35:16 +00:00
Jonas Maebe
0e76a84e04 + "ELFv2" abi identifier for ppc64
git-svn-id: trunk@30192 -
2015-03-14 18:35:13 +00:00
Károly Balogh
918c4add06 m68k: in do_spill_replace, exclude the case where the source register would be an address and the destination is a reference
git-svn-id: trunk@30191 -
2015-03-14 17:19:14 +00:00
Károly Balogh
935820293c m68k: in tm68ktypeconvnode.int_to_real, fix the reference before using it, and if the source is a register, make sure it's a data register
git-svn-id: trunk@30190 -
2015-03-14 17:14:10 +00:00
Károly Balogh
1121c2e6ce m68k: before doing a reg->ref operation, make sure the source is a datareg
git-svn-id: trunk@30189 -
2015-03-14 16:36:02 +00:00
Jeppe Johansen
52e505bff7 Fixed internal error in GOT related code for ARM internal assembler.
git-svn-id: trunk@30188 -
2015-03-14 16:03:16 +00:00
Jeppe Johansen
439027a8de Add most pre-UAL VFP instruction forms.
Add fused mac instructions for VFPv4.

git-svn-id: trunk@30187 -
2015-03-14 14:59:13 +00:00
Jeppe Johansen
64f127141f Add VFPv4 FPU type for ARM.
Fix assembler reader so it can read instructions longer than 5 characters.

git-svn-id: trunk@30186 -
2015-03-14 12:49:07 +00:00
marco
f79a8c1544 * IMAGE_FIRST_SECTION
git-svn-id: trunk@30185 -
2015-03-14 11:16:12 +00:00
marco
f6d72af6a3 * fix 64-bit issue in jwawinnt
git-svn-id: trunk@30184 -
2015-03-14 11:14:29 +00:00
Jeppe Johansen
9478099e5a Undo recent VFP assembler changes to make bootstrapping from 3.0.1 possible.
git-svn-id: trunk@30183 -
2015-03-14 10:04:17 +00:00
marco
698a068da7 * Missing symbols from mantis #27657 except macro IMAGE_FIRST_SECTION
git-svn-id: trunk@30182 -
2015-03-13 20:08:29 +00:00
Jeppe Johansen
73abf5e630 Merge from armiw branch.
Update ARM internal assembler to support most ARM, Thumb and Thumb-2 instructions.
Changed generation of VFP instructions to use UAL mnemonics.
Added divided and unified assembler syntax support to ARM assembly reader.

git-svn-id: trunk@30181 -
2015-03-13 19:22:27 +00:00
Jeppe Johansen
b75330760d Merged from trunk.
git-svn-id: branches/laksen/armiw@30180 -
2015-03-13 18:58:57 +00:00
Jeppe Johansen
5f622752ce Disable internal assembler
git-svn-id: branches/laksen/armiw@30179 -
2015-03-13 18:56:59 +00:00
Jonas Maebe
d4bc74ecc0 * support for -WM10.XX (for 10.10) and defining the correct associated
version macro

git-svn-id: trunk@30178 -
2015-03-13 08:35:30 +00:00
Jonas Maebe
5b3c511467 * don't crash when "return exitvalue" is used in a procedure
git-svn-id: trunk@30177 -
2015-03-13 08:35:26 +00:00
nickysn
39dbfcc3d5 * fixed gdb/mi crash when program exits with exit code >= $80000000
git-svn-id: trunk@30176 -
2015-03-12 23:25:07 +00:00
nickysn
e87ce29a4e * use the AsQWord and AsLongWord methods to do the conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30175 -
2015-03-12 22:53:02 +00:00
nickysn
44f272ca3f * use unsigned int conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30174 -
2015-03-12 22:49:16 +00:00
nickysn
f4c0c92628 + added methods AsInt64, AsQWord and AsLongWord to TGDBMI_Value
git-svn-id: trunk@30173 -
2015-03-12 22:46:46 +00:00
pierre
c45d3a2d96 Correct pthread related types
git-svn-id: trunk@30172 -
2015-03-12 20:59:56 +00:00
Jonas Maebe
2dcd42d4f1 * fixed detection of an objcprotocols descending from a forward-defined
objcprotocol

git-svn-id: trunk@30169 -
2015-03-12 19:37:43 +00:00
florian
f0984fb628 * abstractrecorddef.contains_float_field should search recursively, resolves #27580
git-svn-id: trunk@30168 -
2015-03-11 22:05:14 +00:00
pierre
b0d8f487c1 Makefile regenerated after previous commit: Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall
git-svn-id: trunk@30167 -
2015-03-11 22:03:52 +00:00
pierre
999436c5e6 Fix fullinstall for win64 and disable 8086 and i386 compiler for win64 os source only for fullcycle and fullinstall
git-svn-id: trunk@30166 -
2015-03-11 21:57:47 +00:00
Jonas Maebe
b97e7da6b4 * fixed memory leak
git-svn-id: trunk@30165 -
2015-03-11 17:49:51 +00:00
Jonas Maebe
fc21845686 * fixed the allocation of R12 on ppc32/ppc64 when used to hold the value of
the stack pointer during the prolog. This was done previously in
    tcg.g_proc_entry(), but that routine is called after register allocation
    and hence has no influence. Also cleaned up the deallocation of that
    register by moving the previously ifdef'd code to thlcgppcgen
    (mantis #27634)

git-svn-id: trunk@30164 -
2015-03-11 17:49:44 +00:00
nickysn
bf7785f567 * only define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE on Windows. This fixes
console output under Linux and other non-Windows platforms.

git-svn-id: trunk@30163 -
2015-03-11 10:44:47 +00:00
nickysn
aff3fb62ae - rm code that parses the response when retrieving the value of a watchpoint
variable, since that's now done in PrintCommand for the libgdb.a interface
  (and is not necessary for the gdb/mi interface)

git-svn-id: trunk@30162 -
2015-03-11 00:59:53 +00:00
Legolas
0e93481dbf * Wii rtl: reverted wrong commit
git-svn-id: trunk@30161 -
2015-03-10 19:30:37 +00:00
svenbarth
dcfd734bbf Fix cycling with -dFPC_USE_LIBC on Linux systems to allow usage of FPC Linux programs on OSv.
memchr seems to have a bug on recent Linux systems if the count that is passed in is larger than the buffer (in our specific case the count is -1 to find the 0 byte of \0 terminated strings): the function "randomly" fails to find the byte and returns zero thus leading to for example incorrect parameter handling.

rtl/inc/cgeneric.inc:
  * use rawmemchr on Linux if -1 is passed as count

git-svn-id: trunk@30160 -
2015-03-10 18:34:04 +00:00
michael
af9798c761 * MOve update of threadqueuetail to critical section
git-svn-id: trunk@30159 -
2015-03-10 08:12:39 +00:00
pierre
21fe7616a4 Avoid line longer than 255 characters, to be able to edit inside FP IDE
git-svn-id: trunk@30158 -
2015-03-10 07:56:18 +00:00
pierre
3cd33af823 Avoid double definition of FPBaseName for powerpc cpu target on i386
git-svn-id: trunk@30157 -
2015-03-10 07:52:44 +00:00
pierre
d62a8b4b14 Avoid range check error
git-svn-id: trunk@30156 -
2015-03-10 07:51:46 +00:00
lacak
1e536926e1 fcl-db: mysql: fix return type of function InternalStrToCurrency. Revealed by test: TestSupportBCDFields
git-svn-id: trunk@30155 -
2015-03-10 06:42:18 +00:00
lacak
94a2fbb20d fcl-db: mysql: fix handling milliseconds in date time values with precision < 3. f.e. datetime(1) value '07:13:45.1' has 100 msec not 1 msec (value after decimal point does not always means milliseconds)
git-svn-id: trunk@30154 -
2015-03-10 06:19:28 +00:00
michael
0b52513c18 * Fix for bug ID #27628
git-svn-id: trunk@30153 -
2015-03-09 19:38:26 +00:00
Jonas Maebe
6a70c84258 + internal bsr/bsf support for ppc32 and ppc64
git-svn-id: trunk@30152 -
2015-03-09 16:48:34 +00:00
Jonas Maebe
00642288b8 * extended bsf/bsr tests with values in which more than one bit is set
git-svn-id: trunk@30151 -
2015-03-09 16:48:26 +00:00
Jeppe Johansen
3d7dce81fe Make MRS and MSR use the right encoding on Thumb architectures.
Set regnumber_count_bsstart to 128 to be able to search all registers.

git-svn-id: branches/laksen/armiw@30150 -
2015-03-08 17:30:38 +00:00
michael
932f472384 * Second patch for big ID 27246
git-svn-id: trunk@30149 -
2015-03-08 16:32:43 +00:00
nickysn
930327eabf * fixed a race condition during parallel build, when nasm tries to create the
output file, before mkdir has created the output directory

git-svn-id: trunk@30148 -
2015-03-08 13:32:35 +00:00
Jeppe Johansen
03b9e5117f Fix off by 1 error in assembler reader which prevented B instructions from being parsed.
git-svn-id: branches/laksen/armiw@30147 -
2015-03-08 12:52:43 +00:00
Jeppe Johansen
914e9e7b49 Merged from trunk
git-svn-id: branches/laksen/armiw@30146 -
2015-03-08 12:33:46 +00:00
nickysn
e513cd44cf * cleaned up, fixed dependencies and enabled parallel build in the msdos makefile
git-svn-id: trunk@30145 -
2015-03-08 12:31:58 +00:00
Jeppe Johansen
d12b913e70 Add initial support in ARM-embedded for Allwinner A20.
git-svn-id: trunk@30144 -
2015-03-08 12:22:57 +00:00