Extended image_info by fields for the Haiku version and ABI. The runtime loader

and the kernel read those values from the shared object (if available). In the
runtime loader this should eventually replace the gcc version guessing method
currently used (at least for shared objects built for Haiku). The optional
packages need to be rebuilt first, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30729 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-05-12 21:08:56 +00:00
parent 51c706f70c
commit 593ee7bbc3
5 changed files with 129 additions and 27 deletions
+4
View File
@@ -33,6 +33,10 @@ typedef struct {
void *data;
int32 text_size;
int32 data_size;
// Haiku R1 extensions
int32 api_version; // the Haiku API version used by the image
int32 abi; // the Haiku ABI used by the image
} image_info;
// flags for clear_caches()