[PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-28 Thread Khem Raj
://savannah.gnu.org/bugs/index.php?60283 Signed-off-by: Khem Raj Cc: Andreas Schwab Cc: Daniel Kiper Cc: Chester Lin Cc: Alistair Francis --- util/grub-mkimagexx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c index 00f49ccaa

[PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-28 Thread Khem Raj
://savannah.gnu.org/bugs/index.php?60283 Signed-off-by: Khem Raj Cc: Andreas Schwab Cc: Daniel Kiper Cc: Chester Lin Cc: Nikita Ermakov Cc: Alistair Francis --- util/grub-mkimagexx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c

Re: [PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-29 Thread Khem Raj
On Mon, Mar 29, 2021 at 3:24 AM Andreas Schwab wrote: > > On Mär 28 2021, Khem Raj wrote: > > > this makes the type promotions clear and explicit > > It was already typecasted to long but was accidentally dropped in [1] > > Note that long is 32-bit on riscv32, so the

[PATCH] include sys/sysmacros.h for getting major() definition

2016-12-18 Thread Khem Raj
glibc 2.25 has deprecated inclusion of by Signed-off-by: Khem Raj --- grub-core/osdep/linux/getroot.c | 2 +- grub-core/osdep/unix/getroot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/osdep/linux/getroot.c b/grub-core/osdep/linux/getroot.c index 09e7e6e

Re: [PATCH] include sys/sysmacros.h for getting major() definition

2016-12-18 Thread Khem Raj
Hi Andrei > On Dec 18, 2016, at 12:11 PM, Andrei Borzenkov wrote: > > 18.12.2016 22:49, Khem Raj пишет: >> glibc 2.25 has deprecated inclusion of by >> >> Signed-off-by: Khem Raj >> --- >> grub-core/osdep/linux/getroot.c | 2 +- >> grub-core/osd

Re: [PATCH] include sys/sysmacros.h for getting major() definition

2016-12-18 Thread Khem Raj
> On Dec 18, 2016, at 12:41 PM, Andrei Borzenkov wrote: > > 18.12.2016 23:38, Khem Raj пишет: >> >> Thanks for your review. On further investigation the issue seems to be >> autoconf related >> with commit >> http://git.sa

Re: [PATCH] include sys/sysmacros.h for getting major() definition

2016-12-18 Thread Khem Raj
> On Dec 18, 2016, at 12:57 PM, Andrei Borzenkov wrote: > > 18.12.2016 23:44, Khem Raj пишет: >> >>> On Dec 18, 2016, at 12:41 PM, Andrei Borzenkov wrote: >>> >>> 18.12.2016 23:38, Khem Raj пишет: >>>> >>>> Than

Re: [PATCH] include sys/sysmacros.h for getting major() definition

2016-12-20 Thread Khem Raj
> On Dec 19, 2016, at 8:39 AM, Andrei Borzenkov wrote: > > 19.12.2016 03:12, Khem Raj пишет: >> >>> On Dec 18, 2016, at 12:57 PM, Andrei Borzenkov wrote: >>> >>> 18.12.2016 23:44, Khem Raj пишет: >>>> >>>

[PATCH] Fix build with glibc 2.20

2014-08-28 Thread Khem Raj
* grub-core/kern/emu/hostfs.c: squahes below warning warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Signed-off-by: Khem Raj --- grub-core/kern/emu/hostfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/kern/emu/

[PATCH V2] Fix build with glibc 2.20

2014-09-03 Thread Khem Raj
* grub-core/kern/emu/hostfs.c: squahes below warning warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Signed-off-by: Khem Raj Upstream-Status: Submitted --- grub-core/kern/emu/hostfs.c | 4 1 file changed, 4 insertions(+) diff --git a/grub

[PATCH] risc-v: Handle R_RISCV_CALL_PLT reloc

2023-02-23 Thread Khem Raj
=binutils-gdb.git;a=commit;h=70f35d72ef04cd23771875c1661c9975044a749c [2] https://reviews.llvm.org/D132530 Signed-off-by: Khem Raj --- grub-core/kern/riscv/dl.c | 1 + util/grub-mkimagexx.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/grub-core/kern/riscv/dl.c b/grub-core/kern/riscv/dl.c