Just like Xi Ruoyao said, just pass -mno-relax option to gcc.
在 2023/6/13 下午3:22, Xiaotian Wu 写道:
Maybe you can tell me how to add compiler options, thank you.
在 2023-06-13星期二的 14:54 +0800,Xiaotian Wu写道:
在 2023-06-13星期二的 14:33 +0800,mengqinggang写道:
LDFLAGS do not affect relocations
LDFLAGS do not affect relocations generation. If just modify LDFLAGS,
grub still needs to process relaxation relocations.
在 2023/6/13 下午2:22, Xiaotian Wu 写道:
在 2023-06-13星期二的 11:25 +0800,mengqinggang写道:
Is this patch used to check if ld supports --no-relax option?
It need to pass -mno
Is this patch used to check if ld supports --no-relax option?
It need to pass -mno-relax option to as or gcc to disable binutils
generate relaxation relocations.
在 2023/6/13 上午10:37, Xiaotian Wu 写道:
New patch is ready:
https://github.com/loongarch64/grub/commits/dev-master
I need your help t