u-boot-brain/arch/sandbox/include/asm
Marek Behún d1f81fd015 sandbox: use sections instead of symbols for getopt array boundaries
In style of linked lists, instead of declaring symbols for boundaries
of getopt options array in the linker script, declare corresponding
sections and retrieve the boundaries via static inline functions.

Without this clang's LTO produces binary without any getopt options,
because for some reason it thinks that array is empty (start and end
symbols are at the same address).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-05-24 14:21:30 -04:00
..
acpi_table.h acpi: Add a simple sandbox test 2020-04-16 14:36:28 +08:00
axi.h axi: Add AXI sandbox driver and simple emulator 2018-08-11 08:09:39 +02:00
bitops.h sandbox: Use the generic bitops headers 2015-11-05 10:52:14 -05:00
byteorder.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cache.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk.h clk: sandbox: Create a special fixed-rate driver 2021-03-26 17:03:08 +13:00
config.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.h timer: Add a test for timer_timebase_fallback 2020-09-30 08:54:45 +08:00
dma-mapping.h dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
eth-raw-os.h sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces 2018-07-26 14:08:19 -05:00
eth.h common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
getopt.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
global_data.h acpi: Add an acpi command 2020-04-30 17:16:12 +08:00
gpio.h gpio: Add a way to read 3-way strapping pins 2021-03-03 15:40:47 -05:00
handoff.h spl: Add support for passing handoff info to U-Boot proper 2018-11-26 08:25:37 -05:00
i2c.h sandbox: i2c: Move platdata structs to header files 2021-03-26 17:03:08 +13:00
io.h sandbox: Drop 'const' from sandbox_write() 2019-10-27 10:56:41 -06:00
linkage.h efi: Use asmlinkage for EFIAPI 2016-10-19 09:01:53 +02:00
malloc.h sandbox: Add a new header for the system malloc() 2020-02-05 19:33:46 -07:00
mbox.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
power-domain.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
processor.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ptrace.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset.h test: reset: Add tests for the managed API 2020-09-30 11:55:22 -04:00
rtc.h sandbox: i2c: Move platdata structs to header files 2021-03-26 17:03:08 +13:00
scmi_test.h firmware: scmi: fix inline comments and minor coding style issues 2021-04-12 17:17:11 -04:00
sdl.h sandbox: sdl: Add an option to double the screen size 2020-02-05 19:33:46 -07:00
sections.h sandbox: use sections instead of symbols for getopt array boundaries 2021-05-24 14:21:30 -04:00
serial.h sandbox: serial: Move priv into a header file 2021-01-05 12:24:41 -07:00
setjmp.h sandbox: Fix setjmp/longjmp 2018-09-23 21:55:30 +02:00
spi.h sandbox: spi: Drop unused sandbox_spi_parse_spec function 2020-12-22 20:39:25 -07:00
spl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
state.h dm: test: Drop of-platdata pytest 2020-10-29 14:42:18 -06:00
string.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
system.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test.h cros_ec: Add support for switches 2021-01-30 14:25:41 -07:00
types.h sandbox: Use correct phys_{addr, size}_t for PHYS_64BIT=y 2019-04-11 20:10:05 -06:00
u-boot-sandbox.h sandbox: implement reset 2020-11-05 09:11:30 -07:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00