gcc.c: Document new %@{...} sequence.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 12 Jun 2018 06:52:55 +0000 (06:52 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 12 Jun 2018 06:52:55 +0000 (06:52 +0000)
commite7208389c8381feaf8c7c60d975b06c446978006
tree8c49fe34a426b41b89f2e74730e877035217085a
parentbfad8f66406ce515ee02ca38ec38cc890011f416
gcc.c: Document new %@{...} sequence.

* gcc.c: Document new %@{...} sequence.
(LINK_COMMAND_SPEC): Use it for the -L switches.
(cpp_unique_options): Use it for the -I switches.
(at_file_argbuf): New global variable.
(in_at_file): Likewise.
(alloc_args): Create at_file_argbuf.
(clear_args): Truncate at_file_argbuf.
(store_arg): If in_at_file, push the argument onto at_file_argbuf.
(open_at_file): New function.
(close_at_file): Likewise.
(create_at_file): Delete.
(do_spec_1) <'i'>: Use open_at_file/close_at_file.
<'o'>: Likewise.
<'@'>: New case.
(validate_switches_from_spec): Deal with %@{...} sequence.
(validate_switches): Likewise.
(driver::finalize): Call clear_args.

From-SVN: r261474
gcc/ChangeLog
gcc/gcc.c