Cleanup deubg

modified:   scripts/brandelf.py
This commit is contained in:
John Reiser 2025-10-10 13:10:14 -07:00
parent 533e642945
commit e8947a6812

View File

@ -85,10 +85,8 @@ def do_file(fn):
if opts.bfdname == "elf32-bigarm" and opts.elfosabi == "arm": if opts.bfdname == "elf32-bigarm" and opts.elfosabi == "arm":
brand_arm("\x01\x02\x01") brand_arm("\x01\x02\x01")
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "freebsd": elif opts.bfdname == "elf32-i386" and opts.elfosabi == "freebsd":
print ("case 4")
brand_freebsd("\x01\x01\x01") brand_freebsd("\x01\x01\x01")
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "linux": elif opts.bfdname == "elf32-i386" and opts.elfosabi == "linux":
print ("case 5")
brand_linux("\x01\x01\x01") brand_linux("\x01\x01\x01")
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "netbsd": elif opts.bfdname == "elf32-i386" and opts.elfosabi == "netbsd":
brand_netbsd("\x01\x01\x01") brand_netbsd("\x01\x01\x01")