From 5a41264beb2d47edcee6b729d75d4b5fb635beb9 Mon Sep 17 00:00:00 2001 From: Jim Tsung-Chun Lin Date: Mon, 9 Sep 2024 17:02:15 +0800 Subject: [PATCH] Fix the typo in url for medany code model Signed-off-by: Jim Tsung-Chun Lin --- src/toolchain-conventions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toolchain-conventions.adoc b/src/toolchain-conventions.adoc index 8f02372..46008f7 100644 --- a/src/toolchain-conventions.adoc +++ b/src/toolchain-conventions.adoc @@ -118,7 +118,7 @@ NOTE: When PIC or PIE mode enabled the `-mcmodel=medlow` will be suppressed. RISC-V psABI has a contain sections to describe the code model: - https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#medium-low-code-model[Medium low code model]: -mcmodel=medlow -- https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#medium-low-code-model[Medium any code model]: -mcmodel=medany +- https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#medium-any-code-model[Medium any code model]: -mcmodel=medany - https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#medium-position-independent-code-model[Medium position independent code model]: -fpic, -fPIC, -fpie or -fPIE. == Disassembler (objdump) behaviour