X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/fd000fc61c24a59dc96b5c3edebfec97692f432a..816b381677e39d5f6a5b8e836293b83c4c1192d1:/packages/binutils/ld-emultempl-elf32.em.patch diff --git a/packages/binutils/ld-emultempl-elf32.em.patch b/packages/binutils/ld-emultempl-elf32.em.patch index 5dd80b84..37f54512 100644 --- a/packages/binutils/ld-emultempl-elf32.em.patch +++ b/packages/binutils/ld-emultempl-elf32.em.patch @@ -6,9 +6,9 @@ diff -u -r ../binutils-2.26/ld/emultempl/elf32.em ./ld/emultempl/elf32.em gld${EMULATION_NAME}_after_parse (void) { +#ifndef __ANDROID__ -+ /** The Android linker does not support DF_1_PIE but prints a warning: -+ 'unsupported flags DT_FLAGS_1=0x8000000' -+ due to validation in linker.cpp (see "case DT_FLAGS_1" there. */ */ ++ /* The Android linker does not support DF_1_PIE: ++ 'unsupported flags DT_FLAGS_1=0x8000000' ++ from linker.cpp (see "case DT_FLAGS_1" there. */ if (bfd_link_pie (&link_info)) link_info.flags_1 |= (bfd_vma) DF_1_PIE; +#endif