[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30374] ld: Add --remap-inputs-file= to remap input files
From: |
i at maskray dot me |
Subject: |
[Bug ld/30374] ld: Add --remap-inputs-file= to remap input files |
Date: |
Thu, 29 Jun 2023 07:31:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30374
--- Comment #5 from Fangrui Song <i at maskray dot me> ---
(In reply to Nick Clifton from comment #4)
> OK, I have decided to commit my patch now, so that it gets into the next
> release. If there are problems we can always reopen this PR.
Thank you! I have tested the feature. It looks great.
> ld foo.o --remap-inputs=foo.o=bar.o
>
> will not rename foo.o to bar.o, [...]
I hope that this will be fine. Users can get adapted to this limitation.
> One other thing: I wondered if we ought to accept the "@file" syntax in the
> --remap-inputs option, as a synonym for --remap-inputs-file. What do you
> think ?
I think no. --remap-inputs @1.map would require extra work and the syntax is
probably not conventional.
--
You are receiving this mail because:
You are on the CC list for the bug.