Tomas Hajny
633a902565
* exception handler is a function, not procedure
...
git-svn-id: trunk@8680 -
2007-09-29 15:48:26 +00:00
Almindor
fdcc5f4332
* use TIOCtlRequest instead of hard ifdefs to remove warnings
...
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
Jonas Maebe
0a606b308d
- removed unused nested do_generate_code procedure from read_proc
...
git-svn-id: trunk@8678 -
2007-09-29 10:28:40 +00:00
marco
54d8f93b25
* fix for 9772
...
git-svn-id: trunk@8677 -
2007-09-29 09:18:15 +00:00
Almindor
5474e0c987
* fix ioCtl differences between BSD and POSIX
...
git-svn-id: trunk@8676 -
2007-09-29 08:24:23 +00:00
Jonas Maebe
b9752680a5
* fixed crashes when combining -Cg with -g or -pg due to a missing
...
restore of lr in leaf procedures in that case (Darwin-only)
git-svn-id: trunk@8675 -
2007-09-28 23:27:16 +00:00
Jonas Maebe
993ec01a76
* use the gcc jumptable scheme for all ppc targets instead of only for
...
darwin
git-svn-id: trunk@8674 -
2007-09-28 23:00:58 +00:00
Jonas Maebe
5a0a6d0d9e
* fixed and enabled smartlinking on Darwin by adding more .reference
...
statements (some to work around linker bugs, most because they were
really missing)
git-svn-id: trunk@8673 -
2007-09-28 22:48:41 +00:00
marco
827d380691
* pchar(pointer()) isms that were safe.
...
git-svn-id: trunk@8672 -
2007-09-28 21:57:45 +00:00
marco
faa8383403
* some pchar(pointer(s)) changes (see maillist)
...
git-svn-id: trunk@8671 -
2007-09-28 20:24:44 +00:00
Vincent Snijders
bc7e54c3f0
* search preprocessor binary and add it as command line parameter for windres, so that the cpp doesn't need to be on the path
...
git-svn-id: trunk@8670 -
2007-09-28 19:53:19 +00:00
Jonas Maebe
c84744b27f
* fixed a_jmp_name() for darwin/i386 (go via a stub)
...
* fixed g_external_wrapper for darwin/i386 (both with and without pic,
by using a_jmp_name(), because the darwin jump stubs can always
be called directly)
git-svn-id: trunk@8669 -
2007-09-28 14:12:46 +00:00
Jonas Maebe
559bb6226e
* don't try to translate the got register if it's NR_NO (fixes
...
regression of webtbs/tw3402 on linux/ppc64 after r8651)
git-svn-id: trunk@8668 -
2007-09-28 11:15:16 +00:00
peter
b5fb7120b8
* fixed length calculation of leb128 constants
...
git-svn-id: trunk@8666 -
2007-09-27 22:40:38 +00:00
peter
c19217f846
* only for jump instructions we need to look at the relative
...
offset of an symbol
git-svn-id: trunk@8664 -
2007-09-27 20:10:30 +00:00
Jonas Maebe
f51bac256d
* made pic-safe (by simply not accessing global variables from
...
assembler code anymore, as I don't see how to easily support
PIC access to global variables for Darwin/i386)
git-svn-id: trunk@8663 -
2007-09-27 15:08:09 +00:00
Jonas Maebe
e81d4b737f
* give a build-time error when trying to cross-compile the compiler from
...
non-i386 to i386 because that will result in internalerrors later anyway
git-svn-id: trunk@8662 -
2007-09-27 13:22:51 +00:00
Almindor
f1d5f6536c
* fix cInt -> cLong changes in implementation section too
...
git-svn-id: trunk@8661 -
2007-09-27 08:37:25 +00:00
Jonas Maebe
5a07698a3e
* made less complex in case of pic code because then many more
...
virtual registers are needed
git-svn-id: trunk@8660 -
2007-09-27 08:08:45 +00:00
Jonas Maebe
d7c4fdbed5
* added maxfpuregs constant to fix compilation after r8655
...
git-svn-id: trunk@8658 -
2007-09-26 22:00:29 +00:00
Jonas Maebe
3266f4e483
+ Compiler support for pic on darwin/i386. The i386 rtl still needs
...
to be made pic-safe (mainly accesses to the global default8087cw)
* At the same time also made the non-pic code abi-compliant (access
external data via indirect symbol pointers etc)
Darwin/i386 also puts the got into a virtual register (like
Darwin/ppc), a.o. because the register allocator fails to colour
a routine in aasmcpu.pas if we take away ebx from it.
git-svn-id: trunk@8657 -
2007-09-26 21:42:27 +00:00
peter
4492ee39c5
* remove firstpasscount
...
git-svn-id: trunk@8656 -
2007-09-26 21:13:32 +00:00
peter
6b8aed593f
* remove registers{int/mmx/fpu} from firstpass
...
* small cleanups of unused variables in firstpass
* node_resources_fpu() created to get an approximation of the
required fpu registers
* for the moment use node_complexity in the CG until the
node_resource_int() is created
git-svn-id: trunk@8655 -
2007-09-26 21:12:01 +00:00
Jonas Maebe
7e5e13223e
* also count references to relsymbols
...
git-svn-id: trunk@8654 -
2007-09-26 20:31:41 +00:00
Jonas Maebe
b103605bc3
* added comment clarifying why g_indirect_sym_load doesn't have to
...
care about PIC
git-svn-id: trunk@8653 -
2007-09-26 18:39:14 +00:00
Jonas Maebe
9750e49d5a
* fixed x86 compilation after r8651
...
git-svn-id: trunk@8652 -
2007-09-26 17:25:38 +00:00
Jonas Maebe
335bc9fd46
+ PIC support for darwin/ppc32 (-Cg works now, no regressions in test
...
suite compiled with -Cg compared to without -Cg)
+ support for using a virtual register as PIC/got base register
* moved got loading code from ncgutil to cgobj/cgcpu (can't test whether
it didn't break anything under linux/i386, because "make cycle OPT=-Cg"
was already broken due to the *prt*.as -> si_*.pp changes)
git-svn-id: trunk@8651 -
2007-09-26 16:41:32 +00:00
Jonas Maebe
70c2414daa
* split off sec_rodata_norel from sec_rodata, and only put constant data
...
without relocations in sec_rodata_norel. It should be possible to make
this new section read-only on all platforms, although currently it
is only done for darwin, and for non-pic code written using the
-Aas assembler writer.
Most platforms also have a special section for "constant but with
relocations" data, but such a section is currently only used for
Darwin (others still use plain .data sections for that, like they
did before)
git-svn-id: trunk@8650 -
2007-09-26 15:49:01 +00:00
Almindor
5520a948e5
* fix few cases of misplaced cInt (should be cLong)
...
git-svn-id: trunk@8649 -
2007-09-26 11:49:00 +00:00
pierre
650dc4468b
* save stop_break_number and restore at end of gdb_command method
...
+ add support for DEBUG_FILE_DIRECTORY
git-svn-id: trunk@8648 -
2007-09-25 23:28:02 +00:00
joost
80eb344eef
* The value of a Checkbox or Rabiobutton should contain the value it should return if the control is checked. Not the value of the field itself.
...
* Fixed setting the Checked property
git-svn-id: trunk@8647 -
2007-09-25 23:03:33 +00:00
joost
f182b6698b
* Removed tracking of the status of InitialiseMySQL, since InitialiseMySQL handles this itself using a refcount
...
git-svn-id: trunk@8646 -
2007-09-25 22:59:58 +00:00
joost
55e680469f
* Fixed compilation after r8639
...
* Initialize FMySQL
git-svn-id: trunk@8645 -
2007-09-25 22:55:36 +00:00
Almindor
0ec95286a9
* use cInt instead of Integer and cuLong instead of Cardinal (latter confirmed with .h)
...
* NOTE: requires proper check againt .h since docs are missing, but the .h are messy
git-svn-id: trunk@8644 -
2007-09-25 22:06:07 +00:00
Jonas Maebe
2de2b6e17f
* changed darwin/ppc32 jumptable code to be the same as the darwin/ppc64
...
code, because that's also what gcc does in all cases and it's pic-safe
git-svn-id: trunk@8643 -
2007-09-25 17:56:23 +00:00
joost
f110c6d506
* mysqlxxdyn now first looks for a version-specific library.
...
git-svn-id: trunk@8642 -
2007-09-25 16:56:44 +00:00
joost
0a0c7127a4
* When the mysql-header-files were made, both "unsigned int" and "unsigned long" were converted to a dword. This works fine for most configurations, but not for x86_64-linux. So all dwors are changed in the culong and cuint types from ctypes
...
git-svn-id: trunk@8639 -
2007-09-25 11:13:32 +00:00
Tomas Hajny
e4fe4e740c
* usedircache reenabled
...
git-svn-id: trunk@8629 -
2007-09-24 05:58:10 +00:00
Jonas Maebe
0cbcf95ff2
* fixed compilation on non-x86 after r8617
...
git-svn-id: trunk@8628 -
2007-09-23 21:21:17 +00:00
Jonas Maebe
2bb0dced62
* optimized code for jumptables (same as for ppc now)
...
* put jump tables in const section for darwin/i386
git-svn-id: trunk@8627 -
2007-09-23 21:15:59 +00:00
Jonas Maebe
83624822c3
* moved and changed format of N_OSO stab to be the same as under gcc
...
* no longer generate the DEBUGSTART/INFO/END/TABLE for Darwin as it
is not needed there and those symbols sometimes confuse the linker
git-svn-id: trunk@8626 -
2007-09-23 21:00:30 +00:00
marco
9e1462203c
* dateutils.scandatetime, an inverse of formatdatetime
...
git-svn-id: trunk@8624 -
2007-09-23 20:03:12 +00:00
Vincent Snijders
e9dfa12646
added fptime to the makefile for all targets
...
git-svn-id: trunk@8623 -
2007-09-23 17:25:02 +00:00
florian
5a585ce07d
* made SExecuteProcessFailed error message more clear
...
git-svn-id: trunk@8622 -
2007-09-23 14:59:22 +00:00
peter
5b43775060
* code from shootout
...
git-svn-id: trunk@8621 -
2007-09-23 14:55:58 +00:00
florian
91956cdb54
* write output to stderr
...
git-svn-id: trunk@8620 -
2007-09-23 14:39:53 +00:00
florian
8a70b3ec8b
* standalone timing program for systems not having a time command
...
git-svn-id: trunk@8619 -
2007-09-23 14:36:51 +00:00
florian
f1d131ab83
+ -B added to get timing info
...
git-svn-id: trunk@8618 -
2007-09-23 14:36:26 +00:00
florian
4cd15058df
* take care of the used fpu instruction set when saving/restoring function results on x86
...
git-svn-id: trunk@8617 -
2007-09-23 14:23:31 +00:00
Jonas Maebe
86164b3a8d
* added linklib statement
...
git-svn-id: trunk@8616 -
2007-09-23 14:20:57 +00:00