Retargetable Binary Tools

  • Alexandro Baldassin
  • Paulo Centoducatte
  • Luiz Santos

Abstract

Binary tools are crucial to platform-based design, specially in early development of hardware-dependent software since it effectively enables hardware-software co-design. In this chapter we present the mechanisms available in ArchC that allows the automatic generation of binary tools such as assemblers, disassemblers, linkers, and debuggers. We start by describing the ArchC language extensions used to declare assembly language symbols, instruction syntax, instruction encoding, and operand modifiers. Following the language support, we show how our retargeting technique allows the automatic generation of the binary tools. We also discuss the GNU binutils framework and how it fits into our retargetability mechanism. We close the chapter by guiding the reader through the steps required to generate the tools from a processor model written in ArchC.

References

  1. 1.
    R.H. Pesch, J.M. Osier, The GNU Binary Utilities (Free Software Foundation, Boston, 1993) Google Scholar
  2. 2.
    The ArchC Website (March 2008). http://www.archc.org
  3. 3.
    TIS Committee, Executable and Linking Format Specification (1995) Google Scholar

Copyright information

© Springer Science+Business Media B.V. 2011

Authors and Affiliations

  • Alexandro Baldassin
    • 1
  • Paulo Centoducatte
    • 1
  • Luiz Santos
    • 2
  1. 1.Computer Systems Laboratory, Institute of ComputingUniversity of CampinasCampinasBrazil
  2. 2.System Design Automation Laboratory, Computer Science DepartmentFederal University of Santa CatarinaFlorianópolisBrazil

Personalised recommendations