parent
ab95788a0c
commit
183a88a12b
@ -6,9 +6,9 @@ diff -u -r ../binutils-2.26/ld/emultempl/elf32.em ./ld/emultempl/elf32.em
|
|||||||
gld${EMULATION_NAME}_after_parse (void)
|
gld${EMULATION_NAME}_after_parse (void)
|
||||||
{
|
{
|
||||||
+#ifndef __ANDROID__
|
+#ifndef __ANDROID__
|
||||||
+ /** The Android linker does not support DF_1_PIE but prints a warning:
|
+ /* The Android linker does not support DF_1_PIE:
|
||||||
+ 'unsupported flags DT_FLAGS_1=0x8000000'
|
+ 'unsupported flags DT_FLAGS_1=0x8000000'
|
||||||
+ due to validation in linker.cpp (see "case DT_FLAGS_1" there. */ */
|
+ from linker.cpp (see "case DT_FLAGS_1" there. */
|
||||||
if (bfd_link_pie (&link_info))
|
if (bfd_link_pie (&link_info))
|
||||||
link_info.flags_1 |= (bfd_vma) DF_1_PIE;
|
link_info.flags_1 |= (bfd_vma) DF_1_PIE;
|
||||||
+#endif
|
+#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user