Commit Graph

68116 Commits

Author SHA1 Message Date
Pierre Muller
38e3a37b82 Remove OS specific classes rules, setting CLASSES_DEPS_OS if needed 2023-09-26 23:35:34 +02:00
Pierre Muller
7438ea1d83 Remove references to fmtbcd (which is located in rtl-extra package) 2023-09-26 23:34:24 +02:00
Pierre Muller
42a1e42708 Set CLASSESDIR for OSes using unix/classes.pp source 2023-09-26 23:24:02 +02:00
Pierre Muller
4f055a9254 Add dependency of classes unit on sortbase 2023-09-26 23:23:21 +02:00
Pierre Muller
71ebbd7cc3 Use CLASSESUNIT variable instead of classes 2023-09-26 23:14:49 +02:00
Pierre Muller
820830cacc Remove references to variants, varutils, dateutil and fpmkunit units, all moved to packages long ago 2023-09-26 23:03:26 +02:00
Pierre Muller
f8e277ef0f Regenerate Makefile's after changes for DOTTED support 2023-09-26 22:48:55 +02:00
Pierre Muller
abf3ce721c Remove OS specific rules for sysutils unit and set SYSUTILS_DEPS_OS as needed 2023-09-26 22:48:55 +02:00
Pierre Muller
18c8066528 Modify POSIXINC value and set SYSUTILSDIR to POSIXINC for qnx OS 2023-09-26 22:48:55 +02:00
Pierre Muller
0ad0833294 Set SYSUTILSDIR variable for OSes using unix/sysutils.pp main source 2023-09-26 22:48:55 +02:00
Pierre Muller
541ba50269 Revert wrong substitution of classes and sysutils subdirectories inside wildcard calls 2023-09-26 22:48:55 +02:00
Pierre Muller
e8a03ac8bc Try to fix crash in loongarch64 compiler
loongarch64 compiler has a specific routine,
  called fixupref that generates some instructions that are
  stored into a tasmlist given as an input parameter.
  This function returns a boolean,
  if the return value is false, the populated list gets
  sometimes discarded.
  This can lead to a later crash, because the unused
  and freed instructions might have been stored
  in live and live_end fields of the reginfo record
  used inside rgobj unit.

  The fix checks if any of the to be discarded instructions
  has been stored inside reginfo records,
  and resets the field in that case.

  The fix might need to be more general,
  because other parts of the compiler,
  like all optimization code, also remove
  instructions...
2023-09-26 18:18:04 +00:00
Pierre Muller
5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 2023-09-26 18:18:04 +00:00
Pierre Muller
cbe5fabd3d Regenerate Makefile's after changes for DOTTED support 2023-09-26 15:31:09 +02:00
Pierre Muller
9f38ebf2c9 Remove OS specific dos unit rules, set DOSDIR or DOS_DEPS_OS as needed and use DOSUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
b36884c171 Remove OS specific rules for msmouse unit and use MSMOUSEUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
0e68dc575b Remove obsolete rule for gpm unit (now in rtl-extra package) 2023-09-26 15:31:02 +02:00
Pierre Muller
bb3f9a2454 Remove OS specific rules for cpu unit and use CPUUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
97c60e25a9 Replace sortbase by $(SORTBASEUNIT) in all OS Makefile.fpc 2023-09-26 15:31:02 +02:00
Pierre Muller
6b636fc22d Replace all objpas unit references by $(OBJPASUNIT) OS Makefile.fpc 2023-09-26 15:31:02 +02:00
Pierre Muller
bb20f8f318 Replace all objpas$(PPUEXT) by $(OBJPASUNIT)$(PPUEXT) in inc/Makefile.rtl 2023-09-26 14:21:36 +02:00
Pierre Muller
ececf26d87 Regenerate Makefile's after change to inc/Makefile.rtl 2023-09-26 01:02:46 +02:00
Pierre Muller
b12932c7f8 Handle specific main cwstring.pp source for android OS 2023-09-26 01:02:46 +02:00
Pierre Muller
48ea716826 Set special value for RTLDEFSINCDIR variable
for andrioid and targets using AMIINC variable.
  Add rtldefs.inc dependency for cwstring unit,
with RTLDEFSINCDIR directory.
2023-09-26 01:02:46 +02:00
Pierre Muller
2f8c0c091c Replace typinfo and types unit by TYPINFOUNIT and TYPESUNIT 2023-09-26 01:02:45 +02:00
Pierre Muller
3daac41f3d Handle typinfo unit for DOTTED 2023-09-26 01:02:45 +02:00
Pierre Muller
9db23894a5 Handle types unit for DOTTED 2023-09-26 01:02:45 +02:00
Pierre Muller
d956be796b Add windows specific unit dependencies for types unit 2023-09-26 01:02:45 +02:00
Pierre Muller
edc92f26ff Handle win16 specific units: wintypes winprocs and win31 for DOTTED 2023-09-26 01:02:44 +02:00
Pierre Muller
febb70688a Handle cwstring unit for DOTTED 2023-09-26 01:02:44 +02:00
Pierre Muller
2530ac2641 Commit new revision.inc 2023-09-25 21:04:36 +00:00
Pierre Muller
1d4d71b5a0 Prepare for use of fpmkunit table by adding o_none and c_none as first element in TOS and TCPU types 2023-09-25 20:47:44 +00:00
Pierre Muller
95886b7e03 Regenerate Makefile's after DOTTED conversions 2023-09-25 16:39:02 +02:00
Pierre Muller
4b30e83606 Add missing dl unit dependency for sysutils on android OS 2023-09-25 16:39:02 +02:00
Pierre Muller
c614390052 Handle unix unit 2023-09-25 01:02:56 +02:00
Pierre Muller
b82e6e6f23 Handle unixutil unit 2023-09-25 01:02:56 +02:00
Pierre Muller
c0d8241b5d Handle unixtype unit and introduce PTYESINCDIR variable 2023-09-25 01:02:56 +02:00
Pierre Muller
0f26fe9d9a Add dependency on sysctl of baseunix for all bsd OSes 2023-09-25 01:02:55 +02:00
Pierre Muller
421347919f Use common rule for baseunix unit 2023-09-25 01:02:55 +02:00
Pierre Muller
d38324e4e0 sysnr.inc is in linux/sparcgen directory for sparc and sparc64 2023-09-25 01:02:55 +02:00
Pierre Muller
8e98e35ac2 macosclassic OS does not have unixtype unit 2023-09-25 01:02:55 +02:00
Pierre Muller
6f796034db Add ctypes and dl unit dependencies of exeinfo unit for darwin target 2023-09-25 01:02:55 +02:00
Pierre Muller
ff0e820953 Fix error in variable name for sysctl unit 2023-09-25 01:02:55 +02:00
Pierre Muller
b9af293d35 syscall unit is only used when -dFPC_USE_LIBC is not used 2023-09-25 01:02:54 +02:00
Pierre Muller
9d9335dc19 Handle ctypes unit DOTTED conversion 2023-09-25 01:02:54 +02:00
Pierre Muller
5001c72510 Add unixtype nit dependency for ctypes unit for Unix OSes 2023-09-25 01:02:54 +02:00
Pierre Muller
f10f1b59dd Handle cthreads unit for DOTTED 2023-09-25 01:02:53 +02:00
Pierre Muller
07d4779ee5 Add pthread.inc dependency for cthreads unit 2023-09-25 01:02:52 +02:00
Pierre Muller
e4fb8aa30a Handle rtlconst(s) unit for DOTTED 2023-09-25 01:02:51 +02:00
Pierre Muller
1ea8e8bda2 Add rtlconst.inc dependency for rtlconsts unit 2023-09-25 01:02:49 +02:00