Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 871100 Details for
Bug 1073102
ppc64le for kernel package
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ppc64le_module_fix.patch
ppc64le_module_fix.patch (text/plain), 1.22 KB, created by
Brent Baude
on 2014-03-05 18:56:25 UTC
(
hide
)
Description:
ppc64le_module_fix.patch
Filename:
MIME Type:
Creator:
Brent Baude
Created:
2014-03-05 18:56:25 UTC
Size:
1.22 KB
patch
obsolete
>From 414794ae6a59c38f6e5793ad50df97cba3dda4e3 Mon Sep 17 00:00:00 2001 >From: Tony Breeds <tony@bakeyournoodle.com> >Date: Thu, 30 Jan 2014 19:58:55 +1100 >Subject: [PATCH] powerpc/le: Avoid creatng R_PPC64_TOCSAVE relocations for > modules. > >When building modules with a native le toolchain the linker will >generate R_PPC64_TOCSAVE relocations when it's safe to omit saving r2 on >a plt call. This isn't helpful in the conext of a kernel module and the >kernel will fail to load those modules with an error like: > nf_conntrack: Unknown ADD relocation: 109 > >This patch tells the linker to avoid createing R_PPC64_TOCSAVE >relocations allowing modules to load. > >Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> >--- > arch/powerpc/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile >index 0f4344e..fff3945 100644 >--- a/arch/powerpc/Makefile >+++ b/arch/powerpc/Makefile >@@ -74,6 +74,9 @@ override CROSS32AS += -mlittle-endian > LDEMULATION := lppc > GNUTARGET := powerpcle > MULTIPLEWORD := -mno-multiple >+ifeq ($(call cc-option-yn,-mno-save-toc-indirect),y) >+ KBUILD_CFLAGS_MODULE += -mno-save-toc-indirect >+endif > else > ifeq ($(call cc-option-yn,-mbig-endian),y) > override CC += -mbig-endian >--
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1073102
:
871099
| 871100