From 7f2011899c7fd0bc2e884af8fc974b535f1faf7b Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 10 Aug 2003 22:18:12 +0000 Subject: [PATCH] In PIC_GET_GOT, use a local numeric label which is very unlikely to clash with other labels in code which uses it. --- sys/arch/sh5/include/asm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sh5/include/asm.h b/sys/arch/sh5/include/asm.h index aace69133b3e..2c5a6dc9009e 100644 --- a/sys/arch/sh5/include/asm.h +++ b/sys/arch/sh5/include/asm.h @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.9 2003/08/07 16:29:31 agc Exp $ */ +/* $NetBSD: asm.h,v 1.10 2003/08/10 22:18:12 scw Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -370,8 +370,8 @@ pta/u x, tr #else #define PIC_GET_GOT(tr) \ - LEAR(_GLOBAL_OFFSET_TABLE_, 1f, r12) ;\ -1: ptrel/u r12, tr ;\ + LEAR(_GLOBAL_OFFSET_TABLE_, 666f, r12) ;\ +666: ptrel/u r12, tr ;\ gettr tr, r12 #define PIC_PROLOGUE \ addi r15, -8, r15 ;\