diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2000-09-29 13:35:57 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2000-09-29 13:35:57 +0000 |
commit | c7821f3ffdea13d8bca65ad2b7b1d997f9bdeb6c (patch) | |
tree | 4d527b3cf2c3608a14506e12cf3cb56c1823b471 /sys/sys/linker_set.h | |
parent | d0eedf572f7194d1ba3686d6a1e9f3d5c9fbc458 (diff) | |
download | src-c7821f3ffdea13d8bca65ad2b7b1d997f9bdeb6c.tar.gz src-c7821f3ffdea13d8bca65ad2b7b1d997f9bdeb6c.zip |
Change ".align 3" to ".p2align 3" so that this works with ia64.
Notes
Notes:
svn path=/head/; revision=66456
Diffstat (limited to 'sys/sys/linker_set.h')
-rw-r--r-- | sys/sys/linker_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/linker_set.h b/sys/sys/linker_set.h index f6a04ae5e4e8..01b8e6af4e12 100644 --- a/sys/sys/linker_set.h +++ b/sys/sys/linker_set.h @@ -51,10 +51,10 @@ * a problem. */ -#ifdef __alpha__ +#if defined(__alpha__) || defined(__ia64__) #define MAKE_SET(set, sym) \ static void const * const __set_##set##_sym_##sym = &sym; \ - __asm(".align 3"); \ + __asm(".p2align 3"); \ __asm(".section .set." #set ",\"aw\""); \ __asm(".quad " #sym); \ __asm(".previous") |