Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:15266
cross-ppc-binutils.openSUSE_Leap_15.2_Update
binutils-fix-relax.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File binutils-fix-relax.diff of Package cross-ppc-binutils.openSUSE_Leap_15.2_Update
Fix for bsc#1179341 the movload->movconst relaxation can be done only with REX rewriting, and hence needs a GOTPCRELX relocation. With old object files we might still see GOTPCREL relocs, even with REX bytes available. We still can't do such rewriting and hence need to stay with the old rewriting into a lea. diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 549a8be6a6..b89b0023db 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -1731,7 +1731,7 @@ elf_x86_64_convert_load_reloc (bfd *abfd, if (opcode == 0x8b) { - if (abs_symbol && local_ref) + if (abs_symbol && local_ref && rex) to_reloc_pc32 = FALSE; if (to_reloc_pc32)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor