From 7e98c7765b2c8785b10895a13a0993a3e8b7af3b Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Sat, 17 May 2025 17:15:43 +0200 Subject: [PATCH] local-reloc # DP: Description: binutils bug workaround # DP: Related bugs: #263601: m68k: workaround for binutils problem # DP: Dpatch author: Roman Zippel # DP: Patch author: Richard Zidlicky # DP: Upstream status: Debian-Specific # DP: Status Details: Actual fix is to modify m68k binutils. # DP: Date: 2004-08-09 # DP: Description: binutils bug workaround # DP: Related bugs: #263601: m68k: workaround for binutils problem # DP: Dpatch author: Roman Zippel # DP: Patch author: Richard Zidlicky # DP: Upstream status: Debian-Specific # DP: Status Details: Actual fix is to modify m68k binutils. # DP: Date: 2004-08-09 Gbp-Pq: Topic m68k Gbp-Pq: Name local-reloc.diff --- sysdeps/m68k/dl-machine.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 2aca0bc4d..1d44e78d0 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -313,6 +313,8 @@ elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); if (ELF32_R_TYPE (reloc->r_info) == R_68K_JMP_SLOT) *reloc_addr += l_addr; + else if (ELF32_R_TYPE (reloc->r_info) == R_68K_NONE) + return; else _dl_reloc_bad_type (map, ELF32_R_TYPE (reloc->r_info), 1); } -- 2.30.2