mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Remove CONFIG_USE_FDPIC.
We want to avoid code disabled by default, because it ends up less tested. This patch removes all instances of #ifdef CONFIG_USE_FDPIC, most of which can be safely kept. For the ones that should be conditionally executed, we define elf_is_fdpic(). Without this patch, defining CONFIG_USE_FDPIC would prevent QEMU from building precisely because elf_is_fdpic is not defined. Signed-off-by: Christophe Lyon <christophe.lyon@st.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20180430080404.7323-2-christophe.lyon@st.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
committed by
Laurent Vivier
parent
59255887e6
commit
a99856cd7f
@@ -51,13 +51,13 @@ struct image_info {
|
||||
abi_ulong file_string;
|
||||
uint32_t elf_flags;
|
||||
int personality;
|
||||
#ifdef CONFIG_USE_FDPIC
|
||||
|
||||
/* The fields below are used in FDPIC mode. */
|
||||
abi_ulong loadmap_addr;
|
||||
uint16_t nsegs;
|
||||
void *loadsegs;
|
||||
abi_ulong pt_dynamic_addr;
|
||||
struct image_info *other_info;
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef TARGET_I386
|
||||
|
||||
Reference in New Issue
Block a user