Bug 60444 - binutils: "readelf -r" fails
binutils: "readelf -r" fails
Product: Red Hat Linux
Classification: Retired
Component: binutils (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Beth Uptagrafft
Beth Uptagrafft
Depends On:
  Show dependency treegraph
Reported: 2002-02-27 15:45 EST by Christopher Holmes
Modified: 2007-04-18 12:40 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-28 13:22:18 EST
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 Christopher Holmes 2002-02-27 15:45:03 EST
Description of Problem:

binutils: readelf -r fails "make -k check"

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:

1. rpm -i binutils-
1a. cd /usr/src/redhat/SPECS
2. rpm -ba binutils.spec
3. cd /usr/src/redhat/BUILD/binutils-
4. make -k check
5. review ./binutils/binutils.log searching for "readelf -r"

Actual Results:

exec /usr/src/redhat/BUILD/binutils-  -r
tmpdir/bintest.o > readelf.out
regexp_diff match failure
regexp "^  00000004  00.* R_.*00000000  external_symbol.*$"
line   "  00000004  700000001 R_ALPHA_REFLONG       0000000000000000 
external_symbol           + 0"
FAIL: readelf -r

Expected Results:

exec /usr/src/redhat/BUILD/binutils-  -r
PASS: readelf -r

Additional Information:

expected results achieved on intel RedHat7.2
Comment 1 Jakub Jelinek 2002-02-27 16:17:11 EST
readelf -r is correct, the bug is in the regexp pattern.
In current CVS binutils it looks like:
^0+04  [0-9A-Fa-f]+ *R_.*0+00 external_symbol.*$

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