Commit Graph

19 Commits

Author SHA1 Message Date
florian
e0a5d07e37 + manually added new syscalls to i386-android 2024-01-21 21:14:57 +01:00
florian
a79b8a145f * manually added statx syscall numbers for android
git-svn-id: trunk@43850 -
2020-01-03 12:27:46 +00:00
yury
a2a59bcb7d * android: Regenerated syscalls.
git-svn-id: trunk@40535 -
2018-12-12 13:47:40 +00:00
yury
9d7308df42 * Android: Reworked the startup code to use no assembly instructions. Generic assembler startup files contains only section data and are compiled for each CPU.
* Android: argc and argv are correct for shared libraries.

git-svn-id: trunk@39905 -
2018-10-08 16:48:41 +00:00
yury
15476898ca * Re-generated lists of android syscalls by a new script. The lists are more correct now. The script's location: https://svn.freepascal.org/svn/fpcbuild/scripts/android
git-svn-id: trunk@39749 -
2018-09-12 16:54:52 +00:00
yury
3a2884df70 * Android: The list of supported syscalls has been auto-generated directly from android sources for each CPU.
* Minor adjustments to make all compilable with the proper list of Android syscalls.

git-svn-id: trunk@39739 -
2018-09-11 16:10:50 +00:00
yury
af0fdea815 * Android: Include list of supported syscalls for each CPU.
Adjust Linux RTL to work with supported Android syscalls. 
  It should fix issues with Android 8.

git-svn-id: trunk@37480 -
2017-10-17 18:15:02 +00:00
yury
a0d6873331 * android: Android versions prior to 4.1 do not support recursive dlopen() calls.
Therefore if a shared library is loaded by JVM ( using dlopen() ),
          it is not possible to use dlopen() in a units initialization code -
          dlopen() simply hangs.
          To workaround this issue, if a library exports JNI_OnLoad(), then
          no unit initialization is performed during library load.
          The initialization is called when JVM has loaded the library and calls
          JNI_OnLoad().

git-svn-id: trunk@34406 -
2016-09-01 23:22:41 +00:00
yury
ae33685b9d * i386-android: Use PIC in the program start-up code.
git-svn-id: trunk@32035 -
2015-10-13 11:21:03 +00:00
yury
63813f3e96 * android: Fixed crash when using writeln during shared library finalization on Android 4.4+.
git-svn-id: trunk@32033 -
2015-10-12 22:35:51 +00:00
yury
2116552b36 * android: Simply jump to the libc exit().
git-svn-id: trunk@32008 -
2015-10-10 23:59:28 +00:00
yury
75b3ce2d2c * Added a comment.
git-svn-id: trunk@31762 -
2015-09-18 14:40:39 +00:00
yury
835e3efdad * i386-android: Library startup code is PIC compatible.
git-svn-id: trunk@31761 -
2015-09-18 14:40:27 +00:00
yury
90b8e051cb * Fixed crash during dll loading on android-i386 (Stupid error because I am not comfortable with at&t i386 assembler syntax). Issue #25435.
git-svn-id: trunk@26269 -
2013-12-23 12:02:50 +00:00
yury
7e5af23ace * Android: There are cases when libc "environ" var may be NULL. Check for such case and provide fake valid environment. Bug #24519.
git-svn-id: trunk@24804 -
2013-06-04 15:21:29 +00:00
yury
2aa9111b7c * Fixed file description.
git-svn-id: branches/targetandroid@23448 -
2013-01-18 23:25:58 +00:00
yury
3ed10a6936 * Rewrite initialization code for i386-android. i386-android works.
git-svn-id: branches/targetandroid@23447 -
2013-01-18 23:19:29 +00:00
yury
97dd19b04f * cprt0.as is not needed, since we link to libc always.
git-svn-id: branches/targetandroid@23286 -
2013-01-02 00:01:43 +00:00
tom_at_work
75e57faba1 re-apply the changes of r22045 to correct files after recent revert
git-svn-id: branches/targetandroid@22048 -
2012-08-09 14:13:51 +00:00