nickysn
52c53f0d18
+ include si_impl.inc in si_c.pp and si_dll.pp
...
git-svn-id: trunk@41704 -
2019-03-14 20:39:22 +00:00
nickysn
e93a3b5bf4
+ link the openbsd_ident module in the SysInit units
...
git-svn-id: trunk@41703 -
2019-03-14 18:10:37 +00:00
nickysn
16abd6aa13
+ added loader openbsd_ident.as, containing only the .note.openbsd.ident
...
section, required by OpenBSD to identify the ELF binary as OpenBSD-native
git-svn-id: trunk@41702 -
2019-03-14 18:06:24 +00:00
nickysn
29557b97fb
* fixed error, caused by double definition of operatingsystem_result
...
git-svn-id: trunk@41701 -
2019-03-14 17:33:44 +00:00
nickysn
caf1b11db9
* initialize SysInitUnit in InitSysInitUnitName on BSD
...
git-svn-id: trunk@41700 -
2019-03-14 17:20:12 +00:00
nickysn
58d9e58742
* initialize prtobj and reorder in InitSysInitUnitName
...
git-svn-id: trunk@41699 -
2019-03-14 17:02:20 +00:00
nickysn
525eff2927
* initialize linklibc earlier (in InitSysInitUnitName); this is necessary,
...
because the sysinit unit name depends on whether libc is linked or not.
Helper function ModulesLinkToLibc copied from t_linux.pas
git-svn-id: trunk@41698 -
2019-03-14 16:47:34 +00:00
nickysn
dc32554556
* prtobj, linklibc and reorder converted from local to member variables of the class
...
git-svn-id: trunk@41697 -
2019-03-14 16:23:55 +00:00
nickysn
a15ec46751
* don't put the prtobj file in the BSD linker script, in case the current system uses sysinit
...
git-svn-id: trunk@41696 -
2019-03-14 15:57:09 +00:00
nickysn
f1a7e2cdc5
* translated prt0.as from the OpenBSD x86_64 startup code to pascal inline asm; the code compiles, but is not used yet
...
git-svn-id: trunk@41695 -
2019-03-14 15:37:02 +00:00
Mattias Gaertner
6217d44d0b
pas2js: fixed compileserver default mime type html
...
git-svn-id: trunk@41694 -
2019-03-14 10:37:56 +00:00
nickysn
2dbd1b2780
+ enabled compilation of the new (not yet finished) openbsd start code units in the makefile
...
git-svn-id: trunk@41693 -
2019-03-13 16:03:52 +00:00
nickysn
df21e3a3bc
+ initial (only a stub for now) implementation of pascal-based startup code units for OpenBSD
...
git-svn-id: trunk@41692 -
2019-03-13 15:59:36 +00:00
Mattias Gaertner
9d44a2590a
pastojs: -vt writes compiler exe and working dir
...
git-svn-id: trunk@41691 -
2019-03-13 08:16:57 +00:00
Mattias Gaertner
65d0b1ee00
pastojs: test record and jsvalue
...
git-svn-id: trunk@41690 -
2019-03-13 08:16:29 +00:00
nickysn
a32e69bf72
* the i386-openbsd C and C++ test modules recompiled with -fPIC
...
git-svn-id: trunk@41688 -
2019-03-12 16:04:57 +00:00
nickysn
d65d1d17e5
* yet another PIC fix in cprt0 for i386-openbsd
...
git-svn-id: trunk@41687 -
2019-03-12 16:00:12 +00:00
nickysn
5f47b0877a
* PIC fixes in cprt0 for i386-openbsd
...
git-svn-id: trunk@41686 -
2019-03-12 14:56:27 +00:00
nickysn
86d8e3d5cf
* more PIC fixes in i386 OpenBSD's startup code. prt0.as is now completely PIC
...
git-svn-id: trunk@41685 -
2019-03-12 13:55:54 +00:00
Mattias Gaertner
dec638761d
pastojs: made $DispatchField a modifier of the class, instead of a method
...
git-svn-id: trunk@41684 -
2019-03-12 12:10:59 +00:00
nickysn
bfe148cfef
* more PIC fixes in the i386 OpenBSD startup code
...
git-svn-id: trunk@41683 -
2019-03-12 01:58:11 +00:00
nickysn
9c3d7df289
* partial PIC conversion of the i386 OpenBSD startup code
...
git-svn-id: trunk@41682 -
2019-03-12 01:33:06 +00:00
Mattias Gaertner
6994b67947
pastojs: directives DispatchField and DispatchStrField
...
git-svn-id: trunk@41681 -
2019-03-11 21:47:47 +00:00
Mattias Gaertner
4cbe5776b5
pastojs: directives DispatchField and DispatchStrField
...
git-svn-id: trunk@41680 -
2019-03-11 21:41:44 +00:00
nickysn
7c910ee9ca
* use stdin instead of stdout to switch the console to raw mode; this fixes
...
keyboard input in OpenBSD
git-svn-id: trunk@41678 -
2019-03-11 18:08:21 +00:00
nickysn
387b966b1b
* OpenBSD termios interface updates
...
git-svn-id: trunk@41677 -
2019-03-11 16:53:00 +00:00
Mattias Gaertner
bc8df85d00
pas2js: doc about dispatch
...
git-svn-id: trunk@41676 -
2019-03-11 14:38:23 +00:00
nickysn
89c921a11c
+ enabled PIC by default for i386-openbsd as well
...
git-svn-id: trunk@41675 -
2019-03-11 13:48:43 +00:00
nickysn
dd41651e36
* recompiled OpenBSD x86_64 C external modules with -fPIC
...
git-svn-id: trunk@41673 -
2019-03-10 18:18:47 +00:00
nickysn
0d7ee960cc
* recompiled the OpenBSD x86_64 C and C++ .o test files; GCC version is the
...
same (so, no need to update readme.txt), but OpenBSD's default compile
settings have changed (PIC is enabled by default)
git-svn-id: trunk@41672 -
2019-03-10 17:38:07 +00:00
nickysn
b5f7a01804
* more PIC fixes in OpenBSD's x86_64 cprt0.as
...
git-svn-id: trunk@41671 -
2019-03-10 16:53:47 +00:00
nickysn
cfa9410b56
* more PIC fixes in OpenBSD's x86_64 cprt0.as
...
git-svn-id: trunk@41670 -
2019-03-10 16:20:33 +00:00
nickysn
b05b43fe35
* some PIC fixes in OpenBSD x86_64 cprt0.as
...
* use the correct section type for .eh_frame
git-svn-id: trunk@41669 -
2019-03-10 16:08:46 +00:00
nickysn
ac86980f8a
+ pass the -dynamic-linker option to the linker even when making a static binary
...
on OpenBSD, because that seems to be needed in order to produce a static
position independent executable in the correct format for that platform
git-svn-id: trunk@41668 -
2019-03-10 15:56:09 +00:00
florian
d657373933
* patch by J. Gareth Moreton which avoids that the optimizer causes reads of invalid memory, resolves #35187
...
git-svn-id: trunk@41667 -
2019-03-10 10:48:50 +00:00
Mattias Gaertner
f52ea868dd
pas2js: compileserver: fall back mime.types
...
git-svn-id: trunk@41666 -
2019-03-10 08:11:33 +00:00
Mattias Gaertner
fa87f8870c
pastojs: fixed accessing Self in anonymous function
...
git-svn-id: trunk@41665 -
2019-03-10 08:07:54 +00:00
michael
492c0d58d8
* Use exposed TDOMWriter to create reduced XML (non-humanreadable)
...
git-svn-id: trunk@41664 -
2019-03-09 20:01:27 +00:00
michael
4dd27d4d03
* Allow ADO output
...
git-svn-id: trunk@41663 -
2019-03-09 20:00:40 +00:00
michael
992d945b0a
* Expose TDOMWriter and TXMLWriter
...
git-svn-id: trunk@41662 -
2019-03-09 19:46:46 +00:00
michael
2c7f278615
* Support for TBufDataset XML format
...
git-svn-id: trunk@41661 -
2019-03-09 18:42:51 +00:00
nickysn
9fc701c75e
* changed the type of the .eh_frame section to 'unwind'
...
git-svn-id: trunk@41660 -
2019-03-09 18:30:31 +00:00
nickysn
6713f943c2
* use PIC in the eh_frame section as well
...
git-svn-id: trunk@41659 -
2019-03-09 17:48:28 +00:00
michael
d1a180b386
* Fix failure to compile due to dynamic HTTP statuses. Make option to enforce XML output
...
git-svn-id: trunk@41658 -
2019-03-09 17:39:12 +00:00
michael
e32d18977c
* Small command-line client that shows how to load data from SQLDB Rest Bridge into TBufDataset
...
git-svn-id: trunk@41657 -
2019-03-09 17:36:30 +00:00
michael
aee381c14b
* Small compatibility fix for width
...
git-svn-id: trunk@41656 -
2019-03-09 17:34:49 +00:00
michael
663d004db9
* Add small SQL shell demo program. Allows to dump results in XML file
...
git-svn-id: trunk@41655 -
2019-03-09 17:34:13 +00:00
nickysn
692a3fe3e4
* fixed bug, due to a typo in the previous commit
...
git-svn-id: trunk@41654 -
2019-03-09 16:58:25 +00:00
nickysn
2771e8c717
* PIC fixes in OpenBSD's prt0.as for x86_64
...
git-svn-id: trunk@41653 -
2019-03-09 16:54:39 +00:00
nickysn
3a58a6261a
* link with -nopie on OpenBSD only if PIC code generation is disabled
...
git-svn-id: trunk@41652 -
2019-03-09 16:11:52 +00:00