diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-20 16:00:01 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-20 16:00:01 -0500 |
commit | 0c53a5d6fc03427306f821e0a4296e461203cc17 (patch) | |
tree | 00908f058edfcad0712b1e3cd723306ab8203d8d /src/relocation.c | |
parent | 5dee87e48d35eea8ba7022a6ba05b35ac6df167a (diff) | |
download | spmc-0c53a5d6fc03427306f821e0a4296e461203cc17.tar.gz |
Metadata:
* Add .SPM_FILELIST
* Add .SPM_DESCRIPTOR
* Add generators for both to spmbuild
Add new metadata to runtime and arrays
Diffstat (limited to 'src/relocation.c')
-rw-r--r-- | src/relocation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/relocation.c b/src/relocation.c index 1df9f81..1c5b1cf 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -7,7 +7,8 @@ const char *METADATA_FILES[] = { SPM_META_DEPENDS, SPM_META_PREFIX_BIN, SPM_META_PREFIX_TEXT, - SPM_META_MANIFEST, + SPM_META_DESCRIPTOR, + SPM_META_FILELIST, NULL, }; @@ -238,7 +239,7 @@ RelocationEntry **prefixes_read(const char *filename) { * #include "spm.h" * * int main() { - * if (file_is_metadata("./.SPM_DEPENDS")) { + * if (file_is_metadata(".SPM_DEPENDS")) { * // file is metadata * } else { * // file is not metadata |