relocInfo_zero.cpp revision 1010
2N/A/*
2N/A * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
2N/A * Copyright 2007, 2009 Red Hat, Inc.
2N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2N/A *
2N/A * This code is free software; you can redistribute it and/or modify it
2N/A * under the terms of the GNU General Public License version 2 only, as
2N/A * published by the Free Software Foundation.
2N/A *
2N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2N/A * version 2 for more details (a copy is included in the LICENSE file that
2N/A * accompanied this code).
2N/A *
2N/A * You should have received a copy of the GNU General Public License version
2N/A * 2 along with this work; if not, write to the Free Software Foundation,
2N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2N/A *
2N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2N/A * CA 95054 USA or visit www.sun.com if you need additional information or
2N/A * have any questions.
2N/A *
2N/A */
2N/A
2N/A#include "incls/_precompiled.incl"
2N/A#include "incls/_relocInfo_zero.cpp.incl"
2N/A
2N/Avoid Relocation::pd_set_data_value(address x, intptr_t o) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Aaddress Relocation::pd_call_destination(address orig_addr) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Avoid Relocation::pd_set_call_destination(address x) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Aaddress Relocation::pd_get_address_from_code() {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Aaddress* Relocation::pd_address_in_code() {
2N/A // Relocations in Shark are just stored directly
2N/A return (address *) addr();
2N/A}
2N/A
2N/Aint Relocation::pd_breakpoint_size() {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Avoid Relocation::pd_swap_in_breakpoint(address x,
2N/A short* instrs,
2N/A int instrlen) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Avoid Relocation::pd_swap_out_breakpoint(address x,
2N/A short* instrs,
2N/A int instrlen) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Avoid poll_Relocation::fix_relocation_after_move(const CodeBuffer* src,
2N/A CodeBuffer* dst) {
2N/A ShouldNotCallThis();
2N/A}
2N/A
2N/Avoid poll_return_Relocation::fix_relocation_after_move(const CodeBuffer* src,
2N/A CodeBuffer* dst) {
ShouldNotCallThis();
}