Menu

#76 Support armv5teb (NSLU2 with OpenWRT)

None
closed
nobody
None
5
2015-01-10
2012-04-03
-=Robby=-
No

Could you please add a support for binaries for a Linksys NSLU2 with OpenWRT (armv5teb)?

When i try to pack a selfcompiled file i will get this error:
"G:\Downloads\UPX Packer\upx308w>upx -9 -k list_smargo
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2011
UPX 3.08w Markus Oberhumer, Laszlo Molnar & John Reiser Dec 12th 2011

File size Ratio Format Name
-------------------- ------ ----------- -----------
upx: list_smargo: UnknownExecutableFormatException

Packed 0 files."

Thanks

Discussion

  • -=Robby=-

    -=Robby=- - 2012-04-03

    the binarie from the test

     
  • John Reiser

    John Reiser - 2012-07-07
    • status: open --> pending
     
  • John Reiser

    John Reiser - 2012-07-07

    Revision 2273:eb9a508c84f3 to p_lx_elf.cpp fixes this.
    --- a/src/p_lx_elf.cpp Thu May 31 16:08:14 2012 +0000
    +++ b/src/p_lx_elf.cpp Sat Jul 07 07:44:03 2012 -0700
    @@ -1271,10 +1271,9 @@
    if (Elf32_Ehdr::ELFOSABI_NONE==osabi0) { // No EI_OSBAI, no PT_NOTE.
    unsigned const arm_eabi = 0xff000000u & get_te32(&ehdr->e_flags);
    if (Elf32_Ehdr::EM_ARM==e_machine
    - && Elf32_Ehdr::ELFDATA2LSB==ei_data
    && (EF_ARM_EABI_VER5==arm_eabi
    || EF_ARM_EABI_VER4==arm_eabi ) ) {
    - // armel-eabi ARM little-endian Linux EABI version 4 is a mess.
    + // armel-eabi armeb-eabi ARM Linux EABI version 4 is a mess.
    ei_osabi = osabi0 = Elf32_Ehdr::ELFOSABI_LINUX;
    }
    else {

     
  • John Reiser

    John Reiser - 2015-01-10
    • status: pending --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB