bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relocation record format string incorrect in table in som.c


From: Steven Konopa
Subject: Relocation record format string incorrect in table in som.c
Date: Tue, 25 Feb 2003 12:32:51 -0500 (EST)

There are two incorrect format strings in the relocation record table in som.c 
that needs to be corrected (as of version 2.13.1 of the binutils package).

The first one that is incorrect is for R_AUX_UNWIND (opcode OxCF).

The current string is "Sd=Vf=Ef=".  The string should be "Sd=Ve=Ee=".

This problem has actually caused the objdump tool to dump core in one instance


The second one that is incorrect is for R_COMMENT (opcode 0xDD).

The current string is "Ob=Ve=".  The string should be "Vf=".

This problem has caused objdump to produce a "BFD Internal Error" message.


Once both of those were corrected, objdump operated correctly.

If you need an actual example of an object file that contains these relocation 
records, please contact me.  I'll have make sure (due to classification issues) 
that I can release the object files.

There is fairly complete documentation in the form of "The 32-Bit PA-RISC 
Runtime Architecture Document", a PDF file, that is buried in that labryinth of 
a website that HP maintains.  

Go to the below link and click on the second link down in the search results.  
That will cause a download of the Runtime architecuture PDF file.  This version 
now covers PA-RISC 2.0.

http://h21007.www2.hp.com/dspp/srch/srch_SearchResut_IDX/1,1694,,00.html?qtext=P
A%2DRISC+runtime&criteria=0&col=dptr+dpbs+dppi+dpte+dpne+dppp+dpcom&lk=1&rf=0&fl
d=3&nh=10&fdt=in&fin=an&amo=02&ady=18&ayr=2003&bmo=02&bdy=25&byr=2003&st=1&qt=%2
BPA%2DRISC+%2Bruntime&topic=%2D1&qtextbox=

It appears that the BFD will need to be updated to handle the PA-RISC 2.0 
architecture, which is something that I'll need to do myself since I am using 
the objdump tool as part of an internal production tool here at work that I 
have 
written.  I would like to  release the resulting fixes/changes back to the OSS 
community so that others that need this tool can benefit.


Thanks

Steven Konopa
CSC
(540) 644-6637
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]