https://sourceware.org/bugzilla/show_bug.cgi?id=16895

--- Comment #5 from vuvova at gmail dot com ---
There is no -T (--script), indeed. It is intentional. ld manual says

  3.11 Implicit Linker Scripts
  ============================
  If you specify a linker input file which the linker can not recognize as
  an object file or an archive file, it will try to read the file as a
  linker script.

while -T and --script mean

  `-T SCRIPTFILE'
  `--script=SCRIPTFILE'
       Use SCRIPTFILE as the linker script.  This script replaces `ld''s
       default linker script (rather than adding to it), so COMMANDFILE
       must specify everything necessary to describe the output file.

My intention was, precisely, to *add* to the default linker script, so I could
not use -T (--script).

See also the last comment in https://mariadb.atlassian.net/browse/MDEV-5982

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to