[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

Michael Tokarev mjt@tls.msk.ru
Sat Jul 11 06:22:30 GMT 2020


11.07.2020 03:08, Kevin O'Connor wrote:
[]
> As for the particular workaround, "-z allowexec" generates a warning
> on current versions of ld.  Given that, for SeaBIOS, my first reaction
> would probably be to change the SeaBIOS build to unconditionally clear
> the flag in the intermediate binary than to deploy a more complicated
> ld version check to set the given command-line flag.  I'd like to give
> that some more thought though.

Can't seabios use the way suggested by Andreas Schwab, namely .incbin
assembler instruction?

/mjt


More information about the Binutils mailing list