Method and apparatus for architecture independent executable files
US5604905A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Feb 28, 1995 |
| Grant date | Feb 18, 1997 |
| Priority date | — |
| Expiry date | Feb 28, 2015 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/44547
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present invention is a method that enables single release of applications for multiple architectures and operating systems and to provide ease of use of applications in multiple architecture environments. The present invention provides a single file that contains separate object code each of multiple architectures. A special header on the file identifies each section of object code and includes pointers to its starting location. When the file is to be executed on a particular architecture, the resident operating system identifies that block of object code most suited for that particular architecture and environment. That section of code is then loaded into memory for execution. Each architecture in the file is specified by CPU-type and CPU sub-type. For each CPU type or CPU sub-type, file offset, file size and alignment is also provided. Padded bytes are provided to place each member on its specific alignment. These padded bytes are undefined and can be left as "holes" if the file system cannot support them. The appropriate architecture can be picked at compile time and compilers that can run on any architecture are provided to perform the translation.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.