blob: 5d63c11ae4f905c689a95501b86546951aa31ea1 [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mutable-abi.h"
#include <zircon/compiler.h>
// This just defines the exported ABI symbols, which should go into .bss and be
// initialized at runtime. These are in their own translation unit because the
// stub ld.so for out-of-process dynamic linking needs only this.
[[gnu::visibility("protected")]] __CONSTINIT ld::abi::Abi<> ld::mutable_abi;
[[gnu::visibility("protected")]] __CONSTINIT ld::abi::Abi<>::RDebug ld::mutable_r_debug;