nuttx/include/nuttx
YAMAMOTO Takashi e596d5bd5e binfmt/libelf: Implement sh_addralign handling
Basically, mirror the following two commits from modlib.
It's shame we have two copies of elf loaders.

```
commit 51490bad55
Author: YAMAMOTO Takashi <yamamoto@midokura.com>
Date:   Wed Apr 14 17:07:39 2021 +0900

    modlib: Implement sh_addralign handling

    I've seen a module with 16 bytes .rodata alignment for xmm operations.
    It was getting SEGV on sim/Linux because of the alignment issue.
    The same module binary seems working fine after applying this patch.

    Also, tested on sim/macOS and esp32 on qemu,
    using a module with an artificially large alignment. (64 bytes)
```

```
commit 418e11b8b3
Author: YAMAMOTO Takashi <yamamoto@midokura.com>
Date:   Thu Apr 15 11:33:48 2021 +0900

    modlib: Always use separate allocation for text and data

    Pros:

    * Reduce code differences
    * Smaller allocations for !CONFIG_ARCH_USE_MODULE_TEXT

    Cons:

    * Likely to use more memory for !CONFIG_ARCH_USE_MODULE_TEXT in total

    Tested with:

    * sim:module on macOS
    * esp32-devkit:nsh + CONFIG_MODULE on qemu
    * lm3s6965-ek:qemu-protected + CONFIG_EXAMPLES_SOTEST on qemu
```
2022-01-28 16:23:23 +08:00
..
1wire include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
analog drivers/analog: add mcp48xx dac support 2021-12-15 07:02:56 -06:00
audio NuttX: Ken Pettit: update licenses to Apache 2021-04-10 06:42:19 -05:00
binfmt binfmt/libelf: Implement sh_addralign handling 2022-01-28 16:23:23 +08:00
can include/nuttx/can/can.h: fix typo 2022-01-05 18:32:46 +08:00
clk driver:clk: clk pending on semaphore waiting on IPC ready 2021-12-27 23:25:28 -06:00
contactless author: OffCode Ltd : update licenses to Apache 2021-09-13 22:43:36 +08:00
crypto include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
drivers include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
eeprom include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
efuse include: Fix typos reported by codespell 2021-02-25 11:30:38 -08:00
fs include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
himem xtensa/esp32: Add high memory support to work with PSRAM 2020-11-18 22:21:53 +01:00
i2c include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
input driver/uinput: add uinput button support 2022-01-20 01:20:19 +08:00
ioexpander arch/sim: Move the dummy ioe driver to drivers/ioexpender 2022-01-09 11:06:06 +08:00
lcd include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
leds Userled driver: Add option to check actual pin state with getall 2021-10-18 12:30:18 -07:00
lib libc/getopt: Move struct getopt_s to include/nuttx/tls.h 2021-12-06 06:30:16 -08:00
math add upper-half CORDIC driver 2021-07-28 14:23:13 -03:00
mbox Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
mm include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
modem include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
motor Fix error: 'CONFIG_MOTOR_FOC_PHASES' undeclared here 2022-01-09 11:06:06 +08:00
mtd include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
net net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
note Add task name recording for note RAM driver 2020-11-02 01:12:08 -08:00
nx include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
power include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
rc rc/dummy: add dummy driver to test driver skeleton 2020-11-05 11:38:28 -03:00
rf include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
rptun Remove the unnecessary inclusion of assert.h and string.h from public header files 2021-12-20 10:30:08 +01:00
sensors fix: sensor: ppg of dual- and quad-channel sensor types 2022-01-28 14:07:46 +08:00
serial serial/uart_16550: Allow uintptr_t as addr width 2022-01-14 19:40:30 +08:00
spi include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
syslog change /dev/syslog & /dev/ramlog for unix standard 2021-11-24 05:19:46 -06:00
timers include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
usb Remove the unnecessary inclusion of assert.h and string.h from public header files 2021-12-20 10:30:08 +01:00
video include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
wireless include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
.gitignore
addrenv.h mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -07:00
allsyms.h libc/allsyms: Load all symbols for debugging 2021-12-13 08:31:13 -06:00
arch.h arch: Add up_perf_getfreq function 2022-01-25 21:02:14 -03:00
ascii.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
board.h usbdev: Add board unique serial string support 2022-01-19 09:25:48 +01:00
cache.h arch:cache: add lock feature for cache 2021-10-22 13:31:32 -03:00
can.h include/nuttx/can.h: rename CAN_ERR_CTRL to CAN_ERR_CRTL for compatibility with libcanutils 2022-01-23 01:34:34 +08:00
cancelpt.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
clock.h clock: update clock_synchronize() to support with time 2022-01-18 22:48:15 +08:00
compiler.h Fix regression where used code was marked as unused 2022-01-23 14:57:19 +08:00
elf.h binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00
environ.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
envpath.h Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
init.h init: move USERMAIN_XX out of INIT_ENTRYPOINT 2021-12-24 08:23:30 -06:00
irq.h sched/irq/irq_csection.c: Fix typos and correct some comments. 2021-09-16 10:53:51 -05:00
kmalloc.h mm: Add kmm_malloc_size and mm_malloc_size 2021-07-05 14:23:24 +09:00
kthread.h sched: Add kthread_create_with_stack 2021-06-27 12:35:13 -03:00
lirc.h driver/rc: support IR remote control 2020-11-05 11:38:28 -03:00
list.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
mmcsd.h drivers/mmcsd: Add RPMB ioctl 2022-01-05 11:23:27 -03:00
module.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
mqueue.h mq_open: add long file name check and parameter check 2021-10-21 11:01:45 -03:00
mutex.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
nuttx.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
page.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
pgalloc.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
progmem.h arch/arm/src/samv7: add flash progmem erasestate ioctl support 2021-11-26 14:55:34 -03:00
pthread.h libc: Call pthread_exit in user-space by up_pthread_exit 2021-05-21 22:46:52 -06:00
random.h include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
sched_note.h sched_note: change uint32_t nbi_module into uint8_t array, because variables keep the same style that use uint8_t array 2021-12-16 04:18:17 -06:00
sched.h tcbinfo: add packet align to struct tcbinfo 2022-01-27 17:36:27 +08:00
scsi.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
sdio.h sdio: Move sdio utils functions to drivers/mmcsd 2022-01-04 17:44:24 +01:00
semaphore.h wqueue: update wqueue to support using wqueue before wqueue start 2021-12-13 21:16:25 -06:00
signal.h signal: fix compile break in c++ 2020-12-25 21:07:04 +01:00
spawn.h sched/task: Simplify the syscall handling of task_spawn 2021-06-01 12:45:10 +09:00
spinlock.h spinlock.h: In single CPU case force the lock passed to 2021-09-11 23:24:32 +09:00
streams.h libc/lzfcompress: add lzf compress stream 2021-12-20 08:39:33 -06:00
symtab.h symtabs: improve handling of symbol lookups 2021-03-16 10:18:17 -07:00
time.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
tls.h tls: restore C89 compatibility for TLS 2021-12-13 21:14:53 -06:00
tree.h Replace __attribute__ ((unused)) with unused_code 2021-07-29 21:55:21 -03:00
userspace.h Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
vt100.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
wdog.h fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00
wqueue.h Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
zoneinfo.h Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00