Sergei Trofimovich a25fb8508c ia64: fix module loading for gcc-5.4
Starting from gcc-5.4+ gcc generates MLX instructions in more cases to
refer local symbols:

    https://gcc.gnu.org/PR60465

That caused ia64 module loader to choke on such instructions:

    fuse: invalid slot number 1 for IMM64

The Linux kernel used to handle only case where relocation pointed to
slot=2 instruction in the bundle.  That limitation was fixed in linux by
commit 9c184a073bfd ("[IA64] Fix 2.6 kernel for the new ia64 assembler")
See

    http://sources.redhat.com/bugzilla/show_bug.cgi?id=1433

This change lifts the slot=2 restriction from the kernel module loader.

Tested on 'fuse' and 'btrfs' kernel modules.

Cc: Markus Elfring <elfring@users.sourceforge.net>
Cc: H J Lu <hjl.tools@gmail.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Bug: https://bugs.gentoo.org/601014
Tested-by: Émeric MASCHINO <emeric.maschino@gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-01 14:59:04 -07:00
..
2010-02-08 10:42:17 -08:00
2016-08-07 23:55:50 -04:00
2015-06-10 14:26:32 -07:00
2010-03-03 11:25:59 +01:00
2015-06-10 14:26:32 -07:00
2015-06-10 14:26:32 -07:00
2016-08-07 23:55:50 -04:00
2016-01-12 20:46:47 +02:00
2016-08-07 23:55:50 -04:00
2012-03-28 18:30:02 +01:00
2015-06-10 14:26:32 -07:00
2013-03-19 16:14:53 -07:00
2015-06-10 14:26:32 -07:00
2017-05-01 14:59:04 -07:00
2016-08-07 23:55:50 -04:00
2015-06-10 14:26:32 -07:00
2011-03-31 11:26:23 -03:00