From 2e7680c6bff33f0f7500937c2b7cb42648f9c029 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 1 Jun 2018 23:42:10 +0000 Subject: [PATCH] Don't export _end on arm64 and riscv. These platforms don't support brk() and sbrk(), which are the reason for exporting _end in the first place. MFC after: 1 week --- lib/libc/aarch64/Symbol.map | 1 - lib/libc/riscv/Symbol.map | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/libc/aarch64/Symbol.map b/lib/libc/aarch64/Symbol.map index 669dad37983f..d9121798140c 100644 --- a/lib/libc/aarch64/Symbol.map +++ b/lib/libc/aarch64/Symbol.map @@ -33,6 +33,5 @@ FBSD_1.0 { FBSDprivate_1.0 { _set_tp; - _end; __makecontext; }; diff --git a/lib/libc/riscv/Symbol.map b/lib/libc/riscv/Symbol.map index 669dad37983f..d9121798140c 100644 --- a/lib/libc/riscv/Symbol.map +++ b/lib/libc/riscv/Symbol.map @@ -33,6 +33,5 @@ FBSD_1.0 { FBSDprivate_1.0 { _set_tp; - _end; __makecontext; };