Font Size: a A A

Porting Of Cross Assembler And Linker For Embeded System

Posted on:2012-02-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y Q HeFull Text:PDF
GTID:2178330332976253Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid developing of information technology and the internet, the various embeded products based on digital technology plays an important role in industrial automation, wireless communications, medical equipment, household appliances and so on. The embeded technology has become a hot sopt of today's information industry, developing embeded processors and operating systems with our own intellectual property has a very important strategical significance for our national IT industry.Since the performance limitations of the embeded hardware, it always requests a cross compilation tool chain with the host computer. The binary tool chain-GNU Binutils not only fully compatible with GCC, but also has excellent performance, fully met the porting of tool chain for a new embeded system. For porting GNU assembler and GNU linker to the target system CSKY, this thesis discusses the implementation mechanism of GAS and GLD, analyzes the CSKY architecture and the principal of how to support a new target, and finally completes the porting for the CSKY target architecture.Firstlly, this thesis introduces the background of embeded system, summarizes the content in GNU Binutils and the difficulties in porting process. It describes the CSKY architecture and the ELF object file format, with particular analysis of the relocation work.Then it describes the operating mechanism and the method of the back-end supporting in GAS and GLD. It completes the porting of BFD, GAS and GLD to CSKY target, focusing on the interface and the implementation of interface with source code. At last, it tests the GAS with DejaGnu and analyzes the link results.
Keywords/Search Tags:GNU Binutils, embeded architecture, cross compiler, cross linker, DejaGnu
PDF Full Text Request
Related items