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 893730 Details for
Bug 1095885
Incorporate two ppc64le changes to the binutils spec in rawhide
[?]
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]
ldforcele patch
ldforcele.patch (text/plain), 1.49 KB, created by
Brent Baude
on 2014-05-08 18:17:38 UTC
(
hide
)
Description:
ldforcele patch
Filename:
MIME Type:
Creator:
Brent Baude
Created:
2014-05-08 18:17:38 UTC
Size:
1.49 KB
patch
obsolete
>Index: ld/ldlang.c >=================================================================== >RCS file: /cvs/src/src/ld/ldlang.c,v >retrieving revision 1.406 >diff -u -p -r1.406 ldlang.c >--- ld/ldlang.c 4 Apr 2013 14:38:47 -0000 1.406 >+++ ld/ldlang.c 15 Jul 2013 04:00:47 -0000 >@@ -7042,6 +7042,18 @@ lang_add_output_format (const char *form > && little != NULL) > format = little; > >+ if (getenv ("LD_FORCE_LE") != NULL) >+ { >+ if (strcmp (format, "elf64-powerpc") == 0) >+ format = "elf64-powerpcle"; >+ else if (strcmp (format, "elf32-powerpc") == 0) >+ format = "elf32-powerpcle"; >+ else if (strcmp (format, "elf64-big") == 0) >+ format = "elf64-little"; >+ else if (strcmp (format, "elf32-big") == 0) >+ format = "elf32-little"; >+ } >+ > output_target = format; > } > } >Index: ld/ldmain.c >=================================================================== >RCS file: /cvs/src/src/ld/ldmain.c,v >retrieving revision 1.171 >diff -u -p -r1.171 ldmain.c >--- ld/ldmain.c 22 Jun 2013 16:44:15 -0000 1.171 >+++ ld/ldmain.c 15 Jul 2013 04:00:47 -0000 >@@ -622,6 +622,18 @@ get_emulation (int argc, char **argv) > } > } > >+ if ((strncmp (emulation, "elf64ppc", 8) == 0 >+ || strncmp (emulation, "elf32ppc", 8) == 0) >+ && getenv ("LD_FORCE_LE") != NULL) >+ { >+ size_t len = strlen (emulation); >+ char *le = xmalloc (len + 2); >+ memcpy (le, emulation, 5); >+ le[5] = 'l'; >+ memcpy (le + 6, emulation + 5, len - 4); >+ emulation = le; >+ } >+ > return emulation; > } > >
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 1095885
: 893730