commit | 6d1823dc899bb0df45a79c32ea4ef571c1414fcb | [log] [tgz] |
---|---|---|
author | WANG Xuerui <git@xen0n.name> | Mon Mar 24 15:54:25 2025 +0800 |
committer | cailulu <cailulu@loongson.cn> | Wed Mar 26 15:49:58 2025 +0800 |
tree | df99527365ca0d33b5d85d94e3b43db82636af8d | |
parent | a393de33f2b3e8ddbf618ec84a0f9032f0efa859 [diff] |
LoongArch: Fix disassembly option parsing stopping at the first option Turns out the return value of parse_loongarch_dis_option acts as an error code, and previously the function always signified failure with a non-zero return value, making only the first disassembly option get to take effect. Fix by adding the missing `return 0`'s to the two success code paths. Signed-off-by: WANG Xuerui <git@xen0n.name>