coreboot/src/lib
Paul Menzel 63b53561e1 Makefile.inc: Add -fno-pie to ADAFLAGS_common
Building libgfxinit with Debian’s toolchain – latest test with *gnat-11*
11.2.0-13 from Debian sid/unstable – the build fails with the error
below.

    E: Invalid reloc type: 10
    E: Unable to create rmodule from 'build/cbfs/fallback/ramstage.debug'.

Debian’s toolchain is built without enabling PIE by default.

So, explicitly pass `-fno-pie` to `ADAFLAGS_common` to be independent
from how the toolchain was built.

TEST=*gnat* 11.2.0-13 successfully. builds
     purism/librem_cnl/variants/librem_mini with libgfxint.

     With the coreboot toolchain `make BUILD_TIMELESS=1` produces the
     same `build/coreboot.rom` for `BOARD_PURISM_LIBREM_MINI_V2=y` on
     top of commit 50251400d2 (sb/intel/common/firmware: Reword
     me_cleaner warning) with and without the change.
Change-Id: I6661937906d95c130c6099f598d61b21e958fd85
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43759
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2022-01-23 18:55:16 +00:00
..
gnat Makefile.inc: Add -fno-pie to ADAFLAGS_common 2022-01-23 18:55:16 +00:00
asan.c
b64_decode.c
bmp_logo.c
boot_device.c
bootblock.c
bootmem.c
bootmode.c
bootsplash.c
cb.ads
cbfs.c lib/cbfs: Disable cbfs_preload in romstage when VBOOT_STARTS_IN_ROMSTAGE 2021-12-15 23:26:06 +00:00
cbmem_common.c
cbmem_console.c lib/cbmem_console: Add cbmemc_copy_in function 2022-01-23 16:42:38 +00:00
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c coreboot tables: Add type-c port info to coreboot table 2021-10-04 17:12:48 +00:00
crc_byte.c
decompressor.c
delay.c
device_tree.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
dimm_info_util.c arch/x86: Refactor the SMBIOS type 17 write function 2021-11-11 09:10:10 +00:00
dp_aux.c src/{drivers,lib}: Remove unused <console/console.h> 2022-01-14 00:29:02 +00:00
edid.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
edid_fill_fb.c
espi_debug.c
ext_stage_cache.c
fallback_boot.c
fit.c src: Remove unused <cbfs.h> 2022-01-17 15:38:54 +00:00
fit_payload.c src: Remove unused <cbfs.h> 2022-01-17 15:38:54 +00:00
fmap.c src/lib/fmap.c: use le*toh() functions where needed 2021-10-27 14:55:51 +00:00
fw_config.c src/lib: Add FW_CONFIG_SOURCE_VPD 2021-11-08 14:48:05 +00:00
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c
halt.c
hardwaremain.c ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb
imd.c
imd_cbmem.c
jpeg.c
jpeg.h
Kconfig lib/prog_loaders, soc/amd/: Make payload_preload use cbfs_preload 2021-11-16 18:20:31 +00:00
Kconfig.cbfs_verification Spell *Boot Guard* with a space for official spelling 2021-12-16 14:17:36 +00:00
libgcc.c
libgcov.c
list.c lib/list: Add list_append 2021-11-03 08:29:16 +00:00
lzma.c
lzmadecode.c
lzmadecode.h
Makefile.inc lib/Makefile.inc: Remove effect-free line 2021-12-23 12:14:17 +00:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
metadata_hash.c
nhlt.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
primitive_memtest.c
prog_loaders.c src/lib/prog_loaders: Add preload_ramstage 2021-11-16 21:45:36 +00:00
prog_ops.c
program.ld
ramdetect.c
ramtest.c
reg_script.c
region_file.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
reset.c
rmodule.c
rmodule.ld
romstage_handoff.c
rtc.c
selfboot.c selfboot: Add support for selfload in romstage 2021-07-02 00:47:23 +00:00
spd_bin.c
spd_cache.c
stack.c
string.c src: Remove redundant <rules.h> and <commonlib/bsd/compiler.h> 2022-01-12 16:11:05 +00:00
thread.c src: Remove redundant <rules.h> and <commonlib/bsd/compiler.h> 2022-01-12 16:11:05 +00:00
timer.c
timer_queue.c
timestamp.c timestamp: Allow timestamp_add to accept a negative number 2022-01-21 22:42:19 +00:00
ubsan.c
uuid.c
version.c
wrdd.c