Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Use .previous instead of .text in __SECTIONSTRING().



details:   https://anonhg.NetBSD.org/src/rev/2513d115c9f7
branches:  trunk
changeset: 550094:2513d115c9f7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 30 00:07:39 2003 +0000

description:
Use .previous instead of .text in __SECTIONSTRING().

diffstat:

 sys/sys/cdefs_elf.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 54b808bab089 -r 2513d115c9f7 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h       Tue Jul 29 23:31:46 2003 +0000
+++ b/sys/sys/cdefs_elf.h       Wed Jul 30 00:07:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs_elf.h,v 1.14 2003/01/18 09:53:17 thorpej Exp $   */
+/*     $NetBSD: cdefs_elf.h,v 1.15 2003/07/30 00:07:39 thorpej Exp $   */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -89,10 +89,10 @@
 
 #if __STDC__
 #define        __SECTIONSTRING(_sec, _str)                                     \
-       __asm__(".section " #_sec " ; .asciz \"" _str "\" ; .text")
+       __asm__(".section " #_sec " ; .asciz \"" _str "\" ; .previous")
 #else
 #define        __SECTIONSTRING(_sec, _str)                                     \
-       __asm__(".section _sec ; .asciz _str ; .text")
+       __asm__(".section _sec ; .asciz _str ; .previous")
 #endif
 
 #define        __IDSTRING(_n,_s)               __SECTIONSTRING(.ident,_s)



Home | Main Index | Thread Index | Old Index