Bug 250861 - dwarf registers rbx, rdx are switched.
dwarf registers rbx, rdx are switched.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-03 17:55 EDT by Nurdin Premji
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-03 18:16:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nurdin Premji 2007-08-03 17:55:31 EDT
Description of problem:
according to www.linux-foundation.org/spec/refspecs/elf/x86_64-SysV-psABI.pdf
the registers should be in the order rax, rbx, rcx, rdx, gcc puts them in rax,
rdx, rcx, rbx.

Version-Release number of selected component (if applicable):
http://gcc.gnu.org/viewcvs/trunk/gcc/config/i386/
as of today.

How reproducible:
always

Steps to Reproduce:
1. ordering is rax, rdx, rcx, rbx.
2.
3.
  
Actual results:
ordering is rax, rdx, rcx, rbx.

Expected results:
rax, rbx, rcx, rdx.

Additional info:
Comment 1 Nurdin Premji 2007-08-03 17:56:15 EDT
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32982

link to gcc bug.
Comment 2 Jakub Jelinek 2007-08-03 18:16:58 EDT
You should check the latest version of the ABI, not some obsolete one.
The broken dwarf register numbers have been only in psABI versions 0.20 and
0.21, fixed again in 0.90.

Note You need to log in before you can comment on or make changes to this bug.