跳到主要导航 跳到搜索 跳到主要内容

A code self-relocation method for embedded system

  • Beijing Institute of Technology
  • CAS - Institute of Software

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Symbol relocation is very important for program linking and execution. For modern operating systems in PC, symbol relocation process is completed by static linking or dynamic linking. For the execution of Executable and Linkable Format (ELF) file in Linux, dynamic linker will resolve symbols at runtime. However, many embedded operating systems inhibit supporting dynamic linking of ELF file, which results in the symbol relocation is not successful. In this paper, we proposed a code self-relocation method. This method doesn't need extra support from operating system, and the whole relocation process is finished by code in the program. We relocate the entry in Global Offset Table (GOT) and the pointer in structure. This method is evaluated in a program with 37 source files. The result shows that all the entries in GOT and pointers in structure have been relocated to the absolute address, and the symbol relocation is successful. It proves that the method is simple but effective for the developer.

源语言英语
主期刊名Proceedings - 2017 IEEE International Conference on Computational Science and Engineering and IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, CSE and EUC 2017
出版商Institute of Electrical and Electronics Engineers Inc.
页688-691
页数4
ISBN(电子版)9781538632215
DOI
出版状态已出版 - 8 8月 2017
活动20th IEEE International Conference on Computational Science and Engineering and 15th IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, CSE and EUC 2017 - Guangzhou, Guangdong, 中国
期限: 21 7月 2017 → 24 7月 2017

丛书

姓名Proceedings - 2017 IEEE International Conference on Computational Science and Engineering and IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, CSE and EUC 2017
卷1

会议

会议20th IEEE International Conference on Computational Science and Engineering and 15th IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, CSE and EUC 2017
国家/地区中国
市Guangzhou, Guangdong
时期21/07/17 → 24/07/17

学术指纹

探究 'A code self-relocation method for embedded system' 的科研主题。它们共同构成独一无二的学术指纹。

引用此