Commit Graph

34965 Commits

Author SHA1 Message Date
michael
4a8914cbb0 * Implemented IndexOfItem, reversed search again in IndexOf
git-svn-id: trunk@19279 -
2011-09-29 07:50:24 +00:00
pierre
05c83ab538 * Also default to PIC code using -Cg option for x86_64 BSD targets
git-svn-id: trunk@19277 -
2011-09-28 23:12:52 +00:00
pierre
33604a6a49 * Shared library dllrpt0.as init code for i386 and x86_64 CPUs
git-svn-id: trunk@19276 -
2011-09-28 23:07:39 +00:00
sergei
d5b8210359 * typo ($ifdef window -> $ifdef windows)
git-svn-id: trunk@19275 -
2011-09-28 22:10:22 +00:00
florian
b93f4b8096 * whitespace fixes
* implicitly add PC as base register for symbols

git-svn-id: trunk@19274 -
2011-09-28 20:36:44 +00:00
joost
0bc58de578 * Forgot to commit file in r19272.
git-svn-id: trunk@19273 -
2011-09-28 19:52:37 +00:00
joost
7a3503870c * Pass binutilsprefix to compiler when building fpmake. For now only enabled for fcl-web.
git-svn-id: trunk@19272 -
2011-09-28 19:51:50 +00:00
marco
27f39e4bad * "out" parameters for Oracle, Mantis #18133
git-svn-id: trunk@19271 -
2011-09-28 19:26:00 +00:00
florian
ce61891ca3 * offset used by A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD must be dividable by 4
git-svn-id: trunk@19270 -
2011-09-28 19:01:09 +00:00
florian
a6d01c09aa * make compiler compilable with 2.4.4 rtl
git-svn-id: trunk@19269 -
2011-09-28 18:54:32 +00:00
michael
39d8ee1136 * Reverse IndexOf. Increases speed of freeing collection with a factor N^2
git-svn-id: trunk@19268 -
2011-09-28 17:44:32 +00:00
marco
448e3db450 * fixes Mantis #14730 dealing with oldvalue=null
git-svn-id: trunk@19267 -
2011-09-28 16:27:32 +00:00
florian
08c97e81bf * remove spaces at eol
git-svn-id: trunk@19266 -
2011-09-28 15:42:04 +00:00
pierre
f799019982 Missing freebsd x86_64 objects added
git-svn-id: trunk@19265 -
2011-09-28 15:13:54 +00:00
Mattias Gaertner
eb15e42e80 instantfpc: compiler output: replace cache file name with source file name
git-svn-id: trunk@19264 -
2011-09-28 14:32:34 +00:00
marco
0db7b03ec0 * Added some missing fieldtypes to bufdataset, Mantis #19930 (_safe patch)
git-svn-id: trunk@19262 -
2011-09-28 07:50:29 +00:00
paul
4cf5e36ce7 compiler:
- add TTagHashSet class descendant of THashSet with an ability to has also a LongWord value together with key
  - change TAsmData.ConstPools[] to be an indexed property to properly initialize ConstPool class, remove pool initialization from all other units
  - add ansistring constants to pool together with their encoding to distinct the same text constants with different codepage
  + test

git-svn-id: trunk@19261 -
2011-09-28 01:18:43 +00:00
Legolas
8ce243eafd * Fixed libndsfpc building
- Removed some deprecated examples about libnds filesystem

git-svn-id: trunk@19260 -
2011-09-27 21:05:55 +00:00
pierre
f3626b4b80 * Sort test source files, needed of freebsd at least
git-svn-id: trunk@19259 -
2011-09-27 20:59:25 +00:00
sergei
6ee77d9088 + ogelf.pas: support relocation of type R_X86_64_32 which is apparently used by DWARF3 debug info.
git-svn-id: trunk@19258 -
2011-09-27 20:38:10 +00:00
marco
962db07cf6 * Patch from Ludo Brands for Mantis #18240. Fixes some float issues which have
scale=0 and precision=0

git-svn-id: trunk@19257 -
2011-09-27 20:31:55 +00:00
florian
d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
Legolas
02b0ef5379 * libnds updated to ver.1.5.4
git-svn-id: trunk@19255 -
2011-09-27 18:54:32 +00:00
joost
ce01b15c49 * Generate proper Dwarf-debuginfo for DW_AT_vtable_elem_location, containing
a Dwarf-block that evaluates the location of a method within the vmt. 
   The vmtindex as it was used is is only used by older GCC versions and does
   not work with a Pascal VMT.

git-svn-id: trunk@19253 -
2011-09-27 15:48:52 +00:00
marco
79f54fb31a * fix for mantis #18149, memoryleaks as result from change of stmtprepare to ..stmtprepare2
git-svn-id: trunk@19251 -
2011-09-27 10:49:35 +00:00
Mattias Gaertner
604f9ba4b8 istantfpc: help about -B
git-svn-id: trunk@19249 -
2011-09-26 19:38:19 +00:00
blikblum
e10071da70 * fix retrieving AutoInc value when index of autoinc field differs in Fields and in fielddefs
git-svn-id: trunk@19247 -
2011-09-26 18:32:07 +00:00
sergei
4c21beb48e win64 unwinding, misc fixes:
* Insert seh_endprologue directive after the last prologue instruction, not before it
* Omit seh_stackalloc for zero bytes
* (For now) ignore SEH directives in NASM and MASM writers, instead of failing with internal error.

git-svn-id: trunk@19246 -
2011-09-26 13:55:21 +00:00
sergei
d94460e3b3 * Made the x86-specific scalefactor optimization of tvecnode available on x86_64 as well, by moving update_reference_reg_mul method from ti386vecnode to newly introduced tx86vecnode.
git-svn-id: trunk@19245 -
2011-09-26 12:58:59 +00:00
Mattias Gaertner
e2357b5809 instantfpc: added option --skip-run
git-svn-id: trunk@19244 -
2011-09-26 11:09:17 +00:00
Mattias Gaertner
5bcf0e71a6 instantfpc: nicer help
git-svn-id: trunk@19243 -
2011-09-26 10:38:35 +00:00
pierre
1f0e5b496f Try to support shared libraries for freebsd
git-svn-id: trunk@19242 -
2011-09-26 10:25:27 +00:00
pierre
23a8fb1754 Suppress console messages about sign extension in ioctl system call
git-svn-id: trunk@19241 -
2011-09-26 10:24:00 +00:00
paul
5560f6b3f2 compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string
git-svn-id: trunk@19240 -
2011-09-26 04:49:09 +00:00
florian
4868b09844 * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332
git-svn-id: trunk@19239 -
2011-09-25 21:19:50 +00:00
Jonas Maebe
2b11fd2bef * cpus that only understand Thumb-2 don't support "blx <imm>"
git-svn-id: trunk@19238 -
2011-09-25 20:44:39 +00:00
marco
6ed8641937 * patch from BigChimp, fixing dbf related testing of output, from
reopened Mantis #20163

git-svn-id: trunk@19237 -
2011-09-25 19:52:10 +00:00
pierre
ccb0595971 * Extend global label for smart linked objects to bsd systems
git-svn-id: trunk@19236 -
2011-09-25 19:30:35 +00:00
pierre
ee67e124ee + Add systems_XXXbsd sets
git-svn-id: trunk@19235 -
2011-09-25 19:29:14 +00:00
sergei
268d8685e7 - Removed SysResetFPU/SysInitFPU from win32/win64 system unit initialization. It is redundant here because it is called from fpc_initializeunits->fpc_cpuinit (on win64) or from fpc_cpucodeinit (on win32).
* Also declared hprevinst as a typed constant and removed its initialization from code.

git-svn-id: trunk@19234 -
2011-09-25 19:27:52 +00:00
Jonas Maebe
028421ca6a + interface delegation test from mantis #19180, already works
git-svn-id: trunk@19228 -
2011-09-25 14:46:19 +00:00
Jonas Maebe
d714eeb84b * give a proper error when a type identifier is missing in a
class operator declaration (mantis #19213)

git-svn-id: trunk@19226 -
2011-09-25 14:38:06 +00:00
paul
932ca07230 rtl: remove useless ifdef
git-svn-id: trunk@19224 -
2011-09-25 13:31:28 +00:00
marco
f538655cbf * enable character for FreeBSD.
git-svn-id: trunk@19223 -
2011-09-25 12:38:22 +00:00
paul
6266b88b74 compiler: fix string const conversion from one codepage to another
git-svn-id: trunk@19222 -
2011-09-25 06:41:59 +00:00
florian
5fa184c952 + patch by Jeppe Johansen to make use of the div/udiv instruction on arm7m, resolves #20022
* explicitly make symbol addressing PC relative

git-svn-id: trunk@19221 -
2011-09-24 21:41:01 +00:00
marco
b0b12d3a64 * fmtbcd divide fix (and others), Mantis #19636, fix by Lacak2. + Test
git-svn-id: trunk@19220 -
2011-09-24 21:34:39 +00:00
marco
09a2f07d5d * use bcdcompare instead of overloaded operator. Mantis #19613, patch by Lacak2
git-svn-id: trunk@19219 -
2011-09-24 21:22:18 +00:00
florian
cb647d875c * avoid mistakes with unimplemented sqr function on architectures with no softfloat support
git-svn-id: trunk@19218 -
2011-09-24 21:17:09 +00:00
marco
ecaa86d582 * added test from Mantis #19645
git-svn-id: trunk@19217 -
2011-09-24 20:59:51 +00:00