elf/macho: use struct os_info
modified libpkg/pkg_abi.c
@@ -39,12 +39,12 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -125,10 +125,10 @@ pkg_get_myarch_fromfile(struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_abi_macho.c
@@ -131,9 +131,11 @@ cputype_to_elfname(const cpu_type_subtype_t cpu)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_elf.c
@@ -2,7 +2,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -568,7 +568,7 @@ aeabi_parse_arm_attributes(void *data, size_t length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -600,7 +600,7 @@ aeabi_parse_arm_attributes(void *data, size_t length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -718,7 +718,7 @@ elf_note_analyse(Elf_Data *data, GElf_Ehdr *elfhdr, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -727,6 +727,8 @@ pkg_get_myarch_elfparse(int fd, char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -961,4 +963,4 @@ int pkg_analyse_elf(const bool developer_mode, struct pkg *pkg, const char *fpat
|
|
|
|
|
|
| - | |
|
|
| + | |