History

OpenBSD: arm fix

Disable warning softfloat. OpenBSD works fine. save/restore s0-s15 during memcpy call for structs update configure script. Works now on raspberry pi/All BSD Add eabi_mem.. functions in armeabi.c for OpenBSD Fix fp register in tccrun.c for OpenBSD

herman ten brugge committed 5 years ago

Commit 6b614c41 parent debe8d04 files · +46 −4Browse files

Showing the changes to lib (1 of 4 files). Show all

Unified · Split

lib/armeabi.c+36−0
@@ -499,3 +499,39 @@ void __aeabi_uidivmod(unsigned num, unsigned den) · 498 unmodified lines
499{499{
500 uidiv_t_return(aeabi_uidivmod(num, den));500 uidiv_t_return(aeabi_uidivmod(num, den));
501}501}
502
503/* Some targets do not have all eabi calls (OpenBSD) */
504typedef __SIZE_TYPE__ size_t;
505extern void *memcpy(void *dest, const void *src, size_t n);
506extern void *memmove(void *dest, const void *src, size_t n);
507extern void *memset(void *s, int c, size_t n);
508
509void *
510__aeabi_memcpy (void *dest, const void *src, size_t n)
511{
512 return memcpy (dest, src, n);
513}
514
515void *
516__aeabi_memmove (void *dest, const void *src, size_t n)
517{
518 return memmove (dest, src, n);
519}
520
521void *
522__aeabi_memmove4 (void *dest, const void *src, size_t n)
523{
524 return memmove (dest, src, n);
525}
526
527void *
528__aeabi_memmove8 (void *dest, const void *src, size_t n)
529{
530 return memmove (dest, src, n);
531}
532
533void *
534__aeabi_memset (void *s, size_t n, int c)
535{
536 return memset (s, c, n);
537}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t