Proposed changes for pdp11 --*magic options

Stephen Casner casner@acm.org
Sat Apr 4 01:02:16 GMT 2020


Correcting myself:

> Another new question: ld help says:
>
> pdp11-aout-ld: supported targets: a.out-pdp11 srec symbolsrec verilog tekhex binary ihex plugin
> pdp11-aout-ld: supported emulations: pdp11
>
> I'm not sure that the list of supported targets is true nor where the
> list is specified.  Trying "--oformat srec" gives error file format
> not recognized, but so does "--oformat a.out-pdp11".

I was mininterpreting the error messages.  The file format ld was
complaining about was and incorrent input file.  I guess ld can
produce srec format, but again an email in another forum points out
that the relocation is not correct when offset with -Ttext for the
srec output.  I guess I'm not surprised since it was probably not
tested in the past.  Clearly not all of those supported targets make
sense, so that list should be reduced.

                                                        -- Steve



More information about the Binutils mailing list