From 8c30460b870f3ced089cbc2fdada809a331481e1 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Wed, 24 May 2023 10:45:15 +0800 Subject: [PATCH] all: fix unavailable url RISC-V modified the address of github and the suffix of the file. The previous link is no longer accessible. use latest link. Change-Id: I5e33ea8447a59b8183658248df05c79ddd380cba Reviewed-on: https://go-review.googlesource.com/c/go/+/497378 Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot Run-TryBot: shuang cui Reviewed-by: Bryan Mills Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor --- src/cmd/link/internal/riscv64/asm.go | 2 +- src/debug/elf/elf.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/link/internal/riscv64/asm.go b/src/cmd/link/internal/riscv64/asm.go index cb53a605d7..6b5c0cbe5a 100644 --- a/src/cmd/link/internal/riscv64/asm.go +++ b/src/cmd/link/internal/riscv64/asm.go @@ -119,7 +119,7 @@ func elfreloc1(ctxt *ld.Link, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym, // HI20 PC-relative relocation text symbol, which in turn points to the // given symbol. For further details see the ELF specification for RISC-V: // - // https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#pc-relative-symbol-addresses + // https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#pc-relative-symbol-addresses // var hiRel, loRel elf.R_RISCV switch r.Type { diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go index db84c7710f..c982c684ba 100644 --- a/src/debug/elf/elf.go +++ b/src/debug/elf/elf.go @@ -13,7 +13,7 @@ * $FreeBSD: src/sys/sparc64/include/elf.h,v 1.12 2003/09/25 01:10:26 peter Exp $ * "System V ABI" (http://www.sco.com/developers/gabi/latest/ch4.eheader.html) * "ELF for the ARM® 64-bit Architecture (AArch64)" (ARM IHI 0056B) - * "RISC-V ELF psABI specification" (https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md) + * "RISC-V ELF psABI specification" (https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc) * llvm/BinaryFormat/ELF.h - ELF constants and structures * * Copyright (c) 1996-1998 John D. Polstra. All rights reserved. -- 2.50.0