diff options
author | James Buren <ryuo@frugalware.org> | 2015-03-14 17:14:17 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2015-03-14 17:14:17 +0100 |
commit | 2c6f2f9ddfe5bf14aecc5cf08a0cdc5cbfba0f70 (patch) | |
tree | 3431029f5ec7dc73dc890585b6aef853bb504751 | |
parent | 9584d3b38835121f21512ed888553d01164f7bd0 (diff) | |
download | prt-utils-2c6f2f9ddfe5bf14aecc5cf08a0cdc5cbfba0f70.tar.gz prt-utils-2c6f2f9ddfe5bf14aecc5cf08a0cdc5cbfba0f70.tar.xz |
revdep: add support for ARM
-rw-r--r-- | revdep/utility.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/revdep/utility.c b/revdep/utility.c index b934cc1..fcf6b41 100644 --- a/revdep/utility.c +++ b/revdep/utility.c @@ -342,6 +342,11 @@ extern int get_ld_for_file(const char *pkg, const char *path, const char **ld) break; #endif +#if defined(__arm__) + case EM_ARM: + break; +#endif + default: goto bail; @@ -382,6 +387,10 @@ extern int get_ld_for_file(const char *pkg, const char *path, const char **ld) case ELFCLASS64: ld[0] = "/lib/ld-linux-x86-64.so.2"; break; +#elif defined(__arm__) + case ELFCLASS32: + ld[0] = "/lib/ld-linux-armhf.so.3"; + break; #else #error "Unsupported Architecture" #endif |