binutils: Update from 2.25 to 2.26
This commit is contained in:
parent
039b43de92
commit
fd000fc61c
@ -1,8 +1,8 @@
|
||||
TERMUX_PKG_VERSION=2.25
|
||||
TERMUX_PKG_VERSION=2.26
|
||||
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/binutils/
|
||||
TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
|
||||
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
|
||||
# TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gold"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror"
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/windmc.1 share/man/man1/windres.1 bin/ld.bfd"
|
||||
|
||||
|
17
packages/binutils/ld-emultempl-elf32.em.patch
Normal file
17
packages/binutils/ld-emultempl-elf32.em.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -u -r ../binutils-2.26/ld/emultempl/elf32.em ./ld/emultempl/elf32.em
|
||||
--- ../binutils-2.26/ld/emultempl/elf32.em 2015-11-13 03:27:42.000000000 -0500
|
||||
+++ ./ld/emultempl/elf32.em 2016-01-28 10:20:11.534910516 -0500
|
||||
@@ -115,8 +115,13 @@
|
||||
static void
|
||||
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. */ */
|
||||
if (bfd_link_pie (&link_info))
|
||||
link_info.flags_1 |= (bfd_vma) DF_1_PIE;
|
||||
+#endif
|
||||
|
||||
after_parse_default ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user