Better fix for old macho format
commit894e166ecf68721d1182e7adedf3dbf27a5527d7
authorherman ten brugge <hermantenbrugge@home.nl>
Fri, 2 Dec 2022 21:57:49 +0000 (2 22:57 +0100)
committerherman ten brugge <hermantenbrugge@home.nl>
Fri, 2 Dec 2022 21:57:49 +0000 (2 22:57 +0100)
tree762ee4f1907d3cb866be13c03fb3b0349ffa09d1
parent14e78d7cc2a56f6d599e330fb94aed76bb380ee1
Better fix for old macho format

The last commit only worked on arm64.

The problem was that the new __DWARF segment was empty.
I now remove the __DWARF segment if it is not needed.
This resolves the rebase problem on x86_64.
tccmacho.c