]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Aug 2016 12:58:59 +0000 (08:58 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Aug 2016 12:58:59 +0000 (08:58 -0400)
Pull arm64 fixes from Will Deacon:

 - fix HugeTLB leak due to CoW and PTE_RDONLY mismatch

 - avoid accessing unmapped FDT fields when checking validity

 - correctly account for vDSO AUX entry in ARCH_DLINFO

 - fix kallsyms with absolute expressions in linker script

 - kill unnecessary symbol-based relocs in vmlinux

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Fix copy-on-write referencing in HugeTLB
  arm64: mm: avoid fdt_check_header() before the FDT is fully mapped
  arm64: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
  arm64: relocatable: suppress R_AARCH64_ABS64 relocations in vmlinux
  arm64: vmlinux.lds: make __rela_offset and __dynsym_offset ABSOLUTE

1  2 
arch/arm64/Makefile

diff --combined arch/arm64/Makefile
index d59b6908a21ac6e681e032ba46a4a148ff58f39f,76708280b04aa1f41bbfc30568daa0a772cb81bc..5b54f8c021d8332624839e1c7eb8249eff7ba360
@@@ -15,7 -15,7 +15,7 @@@ CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(
  GZFLAGS               :=-9
  
  ifneq ($(CONFIG_RELOCATABLE),)
- LDFLAGS_vmlinux               += -pie
+ LDFLAGS_vmlinux               += -pie -Bsymbolic
  endif
  
  KBUILD_DEFCONFIG := defconfig
@@@ -94,7 -94,7 +94,7 @@@ boot := arch/arm64/boo
  Image: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
  
 -Image.%: vmlinux
 +Image.%: Image
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
  
  zinstall install: