Károly Balogh
d1a097f6c3
morphos: do not read beyond end of the .rela.stabs section. do not try to relocate stabs entries, if opening the stabs was unsuccessful
...
git-svn-id: trunk@41090 -
2019-01-28 05:07:51 +00:00
Károly Balogh
fd1a09a254
morphos/lineinfo: updated the address adjustment comment added in r40857, no functional change
...
git-svn-id: trunk@40860 -
2019-01-14 11:47:54 +00:00
Károly Balogh
b3ad384547
morphos: fixed stabs line number parsing, and off-by-one line issue with backtraces. i think this should be a generic fix and can be backported to the global lineinfo
...
git-svn-id: trunk@40857 -
2019-01-14 07:22:41 +00:00
Károly Balogh
4d1ff152c4
morphos: include the new lineinfo in the build
...
git-svn-id: trunk@40855 -
2019-01-13 13:27:45 +00:00
Károly Balogh
a527a40d12
morphos: add a custom lineinfo unit, prepared to parse stabs relocations in ELF relocatable objects, also featuring stronger address validation, and showing offsets in the executable instead of absolute addresses
...
git-svn-id: trunk@40854 -
2019-01-13 13:16:01 +00:00
Károly Balogh
5182dc37af
haiku-x86_64: regenerated all Makefiles, take 2
...
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
yury
a29290202f
* Regenerated makefiles to support x86_64-android.
...
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5
* Regenerated makefiles to support aarch64-android.
...
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
fe61157cae
Update all rtl Makefile's
...
git-svn-id: trunk@39824 -
2018-09-27 06:55:12 +00:00
Jeppe Johansen
2aaf481d89
Regenerated makefiles.
...
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
nickysn
65d8836952
* updated dependencies of unit ports (objpas and x86 is no longer required on
...
certain platforms) and regenerated makefiles
git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
pierre
d6be56e225
Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
...
git-svn-id: trunk@38750 -
2018-04-12 15:23:03 +00:00
Károly Balogh
f731f33fea
morphos: do not specify dos as an explicity dependency for extpas. depend on buildrtl instead.
...
git-svn-id: trunk@38312 -
2018-02-22 12:19:27 +00:00
pierre
595938637e
Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
...
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
florian
5bedaf11f4
* fpcmake.inc and Makefiles renerated after last commit
...
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
pierre
d18627f0af
* Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
...
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04
regenerated Makefiles for m68k-macos target
...
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
ac19b0eae6
morphos: enabling lineinfo unit
...
git-svn-id: trunk@36804 -
2017-07-27 22:31:19 +00:00
Károly Balogh
cca38c9f08
morphos: implement StackTop to get the stack top from the OS. stack boundaries are detected more precisely now, this fixes stack backtraces with shallow stack, among others
...
git-svn-id: trunk@36696 -
2017-07-08 23:31:54 +00:00
nickysn
748428b637
+ support the KOI8-R and KOI8-U Cyrillic encodings
...
git-svn-id: trunk@36445 -
2017-06-07 13:51:53 +00:00
nickysn
fce5fbd726
+ added cp3021 (Bulgarian MIK) code page support
...
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
396eebbfb5
+ added support for iso8859-[3,4,6,7,8,9,10,11,13,14,15,16]
...
* charmap .txt files in rtl/ucmaps for iso8859-[1,2,5] also updated
git-svn-id: trunk@36425 -
2017-06-05 16:36:24 +00:00
nickysn
35be7348fb
+ added code pages 737, 775, 857, 860, 861, 862, 863, 864, 865 and 869
...
git-svn-id: trunk@36423 -
2017-06-05 14:25:15 +00:00
nickysn
ef25c33d69
+ added cp855 to the implicit unit list in the rtl makefiles
...
git-svn-id: trunk@36421 -
2017-06-05 12:19:01 +00:00
pierre
17b2671213
Regenerate all Makefile's after changes related to FPCDIR checks
...
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
Károly Balogh
1701f06a0e
morphos: take two on the Pascal startup code. this version works as a drop-in replacement for the asm one, and doesn't need system unit patching. this will be important when linking against LibC and when the approach gets ported to other Amiga-like platforms
...
git-svn-id: trunk@35065 -
2016-12-04 14:02:01 +00:00
Károly Balogh
f3e33a9dde
morphos: new pascal-written internal startup code. also refactored the rtl build process for morphos
...
git-svn-id: trunk@35054 -
2016-12-04 00:15:41 +00:00
nickysn
5306ee552b
* regenerated makefiles with latest fpcmake
...
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4
* regenerate makefiles after the fpcmake update
...
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
marcus
e38e051425
Amicommon: Unified parameterhandling for Amiga, AROS, MorphOS
...
git-svn-id: trunk@33528 -
2016-04-17 15:31:18 +00:00
marcus
a55016bf93
MorphOS: added unicodedata and unicodenumtable
...
git-svn-id: trunk@33147 -
2016-03-04 21:08:43 +00:00
marcus
e0732cf9d7
MorphOS: Enable character unit
...
git-svn-id: trunk@33146 -
2016-03-04 20:36:47 +00:00
florian
70b8789262
o basic extended pascal support:
...
+ automatically loaded helper unit
* Makefiles adapted
* mode switch
* mode switches reorganized
+ TimeStamp support
git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
2e3cb70489
* regenerated makefiles after adding the win16 target
...
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
Károly Balogh
5eea4b2846
amicommon: support for init/exit procedures for threads. will be used by Sockets unit for example, because bsdsocket.library needs to be reopened for each thread
...
git-svn-id: trunk@30991 -
2015-06-06 19:51:12 +00:00
Károly Balogh
b24db8a9c4
Amiga/MorphOS: enabled AThreads to build default for MorphOS and Amiga/68k. AROS might follow later.
...
git-svn-id: trunk@30966 -
2015-06-01 00:34:05 +00:00
Károly Balogh
6afcca7cd3
Amiga-likes: preparations for inclusion of AThreads into the RTL buildprocess
...
git-svn-id: trunk@30923 -
2015-05-28 00:47:35 +00:00
Károly Balogh
2153420ca4
morphos: also fix MorphOS header erros in RTL
...
git-svn-id: trunk@30917 -
2015-05-25 23:52:09 +00:00
Károly Balogh
632c46bcb6
amicommon: have a generic tthread.inc which even works, given there is a reasonably advanced ThreadManager
...
git-svn-id: trunk@30914 -
2015-05-25 21:06:53 +00:00
Károly Balogh
cfc076832a
MorphOS: deleted sysosh.inc, no longer needed (use the one in amicommon)
...
git-svn-id: trunk@30904 -
2015-05-24 22:56:02 +00:00
Károly Balogh
f5bcb011ea
amicommon: properly arbitrate access to the open file list in a multithreaded environment
...
git-svn-id: trunk@30899 -
2015-05-24 12:15:02 +00:00
Jonas Maebe
89418d23e5
* regenerated Makefiles with Linux/AArch64 support
...
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Károly Balogh
ee0cbece03
MorphOS: use stdout as stderr, so code which is wired to use stderr doesn't commit suicide
...
git-svn-id: trunk@30789 -
2015-05-03 17:42:05 +00:00
Károly Balogh
68a25e154a
Amiga/MorphOS: enabled resource support, to match AROS in features
...
git-svn-id: trunk@30565 -
2015-04-13 00:49:00 +00:00
Károly Balogh
0bccf5f09f
morphos: use MEMF_SEM_PROTECTED flag for semaphore protect our memory pool. this is required for the future threading (concurrent accesses to the same pool from separate threads).
...
git-svn-id: trunk@30355 -
2015-03-28 22:58:49 +00:00
Jonas Maebe
fa328436ab
* regenerated for iphonesim/x86-64
...
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1
* regenerated with Darwin/AArch64 support
...
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
svenbarth
2d454dc8fa
Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages.
...
Each port that allows the usage of dynamic libraries should call InitSystemDynLibs during initialization of the System unit.
The DynLibs unit has been adjusted to be a forwarder for the functions that now reside in the System unit (for backwards compatiblity just in case). Additionally the unit will register the DynLibsManager if it doesn't reside in the System unit anyway.
Currently only the Windows targets (Win32, Win64 and WinCE) implement the DynLibsManager inside the System unit. For other systems using the LoadLibrary, etc. functions will lead to a run error/exception.
If a port wants to implement its own DynLibsManager then it needs to define DISABLE_NO_DYNLIBS_MANAGER. TLibHandle, NilHandle and optionally TOrdinalEntry (it's set to SizeUInt otherwise) should be defined in sysdlh.inc which needs to be enabled using the define FPC_SYSTEM_HAS_SYSDLH (because there are targets which have FEATURE_DYNLIBS enabled, but don't support them... e.g. powerpc-wii -.-).
The DynLibsManager contains methods for loading a library based on a RawByteString and based on a UnicodeString. BOTH should be implemented, but internally one can forward to the other.
The loading by ordinal *can* be be implemented. If it is set to Nil then the implementation of GetProcAddress(lib,ordinal) will return Nil.
+ new functions SetDynLibsManager and GetDynLibsManager to set and retrieve the current DynLibsManager
* provide interface of DynLibs unit in unit System
git-svn-id: trunk@29613 -
2015-02-03 20:00:00 +00:00
marco
d407b668d1
* version updated to 3.1.1
...
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
sergei
3a5e6485b5
- RTL: removed InitVariantManager, it was an empty procedure since day 1.
...
git-svn-id: trunk@29114 -
2014-11-22 20:35:46 +00:00