The new makebin -o parameter (offset) doesn't work as expected when used in tandem with -s (romsize). Seems that the -s (romsize) parameter always truncate to the same address. So, if you set -o to 0x0 and -s to 0x8000, it works as expected and binary is 32kb in size, since last address is 0x7FFF, but if you change -o to 0x4000, binary size is now 16kb in size. This is completely different than what hex2bin does.
Ticket moved from /p/sdcc/feature-requests/810/
Can't be converted:
If -s is for specifying a size it should not be used as an end address. I therefor consider this a bug.