From: GNU Libc Maintainers Date: Thu, 25 Aug 2022 17:16:34 +0000 (+0100) Subject: local-reloc X-Git-Tag: archive/raspbian/2.34-7+rpi1~1^2^2~32 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4a37f20931ff39e23e20e3e693c18142c7bc8e3e;p=glibc.git 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 --- diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 30323d62d..190201eb9 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -320,6 +320,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); }