Bug 250861 - dwarf registers rbx, rdx are switched.
dwarf registers rbx, rdx are switched.
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2007-08-03 18:16:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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):
as of today.

How reproducible:

Steps to Reproduce:
1. ordering is rax, rdx, rcx, rbx.
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

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.