Re: [PATCH] RISC-V: Document the degree of position independence that medany affords

2022-02-24 Thread Palmer Dabbelt
On Tue, 18 Jan 2022 18:58:00 PST (-0800), Kito Cheng wrote: LGTM, thanks for adding those comments :) Committed On Wed, Jan 19, 2022 at 1:21 AM Palmer Dabbelt wrote: The code generated by -mcmodel=medany is defined to be position-independent, but is not guaranteed to function correctly

Re: [PATCH] RISC-V: Document the degree of position independence that medany affords

2022-01-18 Thread Kito Cheng via Gcc-patches
LGTM, thanks for adding those comments :) On Wed, Jan 19, 2022 at 1:21 AM Palmer Dabbelt wrote: > > The code generated by -mcmodel=medany is defined to be > position-independent, but is not guaranteed to function correctly when > linked into position-independent executables or libraries. See

[PATCH] RISC-V: Document the degree of position independence that medany affords

2022-01-18 Thread Palmer Dabbelt
The code generated by -mcmodel=medany is defined to be position-independent, but is not guaranteed to function correctly when linked into position-independent executables or libraries. See the recent discussion at the psABI specification [1] for more details. It would be better to reject these

Re: [PATCH] RISC-V: Document the degree of position independence that medany affords

2022-01-14 Thread Palmer Dabbelt
On Thu, 13 Jan 2022 21:54:45 PST (-0800), gcc-patches@gcc.gnu.org wrote: On Fri, Jan 14, 2022 at 4:42 AM Palmer Dabbelt wrote: The code generated by -mcmodel=medany is defined to be position-independent, but is not guarnteed to function correctly when linked into position-independent

Re: [PATCH] RISC-V: Document the degree of position independence that medany affords

2022-01-13 Thread Christoph Müllner via Gcc-patches
On Fri, Jan 14, 2022 at 4:42 AM Palmer Dabbelt wrote: > > The code generated by -mcmodel=medany is defined to be > position-independent, but is not guarnteed to function correctly when > linked into position-independent executables or libraries. See the > recent discussion at the psABI

[PATCH] RISC-V: Document the degree of position independence that medany affords

2022-01-13 Thread Palmer Dabbelt
The code generated by -mcmodel=medany is defined to be position-independent, but is not guarnteed to function correctly when linked into position-independent executables or libraries. See the recent discussion at the psABI specification [1] for more details. [1]: