Module Name: src Committed By: matt Date: Thu Feb 27 18:12:28 UTC 2014
Modified Files: src/sys/arch/powerpc/include: asm.h Log Message: Use ## for concatenation To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/powerpc/include/asm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/include/asm.h diff -u src/sys/arch/powerpc/include/asm.h:1.43 src/sys/arch/powerpc/include/asm.h:1.44 --- src/sys/arch/powerpc/include/asm.h:1.43 Thu Feb 27 15:58:03 2014 +++ src/sys/arch/powerpc/include/asm.h Thu Feb 27 18:12:28 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.43 2014/02/27 15:58:03 matt Exp $ */ +/* $NetBSD: asm.h,v 1.44 2014/02/27 18:12:28 matt Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -108,19 +108,19 @@ # define _ENTRY(y) \ .globl y; \ - .section ".opd","aw"; \ + .pushsection ".opd","aw"; \ .align 3; \ -y: .quad .y,.TOC.@tocbase,0; \ - .previous; \ +y: .quad .##y,.TOC.@tocbase,0; \ + .popsection; \ .size y,24; \ - .type .y,@function; \ - .globl .y; \ + .type .##y,@function; \ + .globl .##y; \ .align 3; \ -.y: +.##y: # define ENTRY(y) _ENTRY(y) -# define END(y) +# define END(y) .size .##y,. - .##y # define CALL(y) \ bl .y; \