On 8/30/23 13:56, Philippe Mathieu-Daudé wrote:
+ for (unsigned i = 0, n = vdso->reloc_count; i < n; i++) {
Do we really need 'n'?
You should always have an loop invariant condition if possible.
vdso->reloc_count doesn't seem updated, but I get your point.
But the compiler doesn't know
On 30/8/23 18:17, Richard Henderson wrote:
On 8/30/23 07:22, Philippe Mathieu-Daudé wrote:
Hi Richard,
On 30/8/23 00:02, Richard Henderson wrote:
The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal tramp
On 8/30/23 07:22, Philippe Mathieu-Daudé wrote:
Hi Richard,
On 30/8/23 00:02, Richard Henderson wrote:
The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.
Signed-off-by: Richard Henderson
-
Hi Richard,
On 30/8/23 00:02, Richard Henderson wrote:
The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 87 ++
The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 87 +++-
1 file changed, 78 insertions(+