z80asm-devel
[Top][All Lists]
Advanced

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

[Z80asm-devel] [bugs #10526] Support producing a table of relocations


From: H. Peter Anvin
Subject: [Z80asm-devel] [bugs #10526] Support producing a table of relocations
Date: Tue, 28 Sep 2004 16:46:25 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803

This mail is an automated notification from the bugs tracker
 of the project: Z80 assembler.




/**************************************************************************/
[bugs #10526] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=10526>
Project: Z80 assembler
Submitted by: H. Peter Anvin
On: Tue 09/28/2004 at 20:39

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  Support producing a table of relocations

Original Submission:  It would be nice to be able to produce a table of 
relocations.  It is basically a list containing (type, offset [,value]) for 
which locations would have to be modified in order to move the code to a 
different location.

In the case of Z80, there are only a few possible relocations:

R_Z80_8            -- absolute 8-bit relocation
R_Z80_16           -- absolute 16-bit relocation
R_Z80_PC8          -- relative 8-bit relocation
R_Z80_HI8          -- high half of an absolute 16-bit value

Out of these, R_Z80_PC8 would only be of interest to linkers, since for a 
finished program they would already be resolved.  R_Z80_HI8 is optional, 
although perhaps useful for things like loading the I register.  It is the only 
relocation which would have to have an additional "value" field (since it's a 
16-bit value, truncated, the source value wouldn't fit in the binary); all the 
other relocations just need to be marked so the data in the binary can be 
shifted appropriately.












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=10526>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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