On 02/26/2015 02:38 PM, Andrew Morton wrote:
[...]

From: Andrew Morton<[email protected]>
Subject: fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix

Consolidate randomize_et_dyn() implementations into fs/binfmt_elf.c.

There doesn't seem to be a compile-time way of making randomize_et_dyn()
go away on architectures which don't need it, so mark it __weak to cause
it to be discarded at link time.

Cc: "H. Peter Anvin"<[email protected]>
Cc: Benjamin Herrenschmidt<[email protected]>
Cc: Catalin Marinas<[email protected]>
Cc: Hector Marco Gisbert<[email protected]>
Cc: Hector Marco-Gisbert<[email protected]>
Cc: Ingo Molnar<[email protected]>
Cc: Ismael Ripoll<[email protected]>
Cc: Kees Cook<[email protected]>
Cc: Ralf Baechle<[email protected]>
Cc: Russell King<[email protected]>
Cc: Thomas Gleixner<[email protected]>
Cc: Will Deacon<[email protected]>
Signed-off-by: Andrew Morton<[email protected]>
[...]
diff -puN 
arch/arm64/include/asm/elf.h~fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix
 arch/arm64/include/asm/elf.h
--- 
a/arch/arm64/include/asm/elf.h~fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix
+++ a/arch/arm64/include/asm/elf.h
@@ -1,5 +1,5 @@
  /*
- * Copyright (C) 2012 ARM Ltd.
+ * Copyright (C) 20q12 ARM Ltd.

This particular change looks like it may be a typo.

   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to