Change an assemble-time divide into a shift. Under binutils-2.8 gas in elf

mode, the slash is a comment leader, while under non-elf it is a divide
symbol (what a concept! :-).  Theoretically, #APP/#NO_APP can change this
but that doesn't seem to mesh too well with macros and line continuation.
This commit is contained in:
Peter Wemm 1997-09-08 06:40:58 +00:00
parent 929ea59a92
commit 421f9ee1ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29219
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
*/
/*
@ -16,7 +16,7 @@
#define ICU_EOI 0x20 /* XXX - define elsewhere */
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
#ifdef AUTO_EOI_1
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */

View file

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
*/
/*
@ -16,7 +16,7 @@
#define ICU_EOI 0x20 /* XXX - define elsewhere */
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
#ifdef AUTO_EOI_1
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */

View file

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
*/
/*
@ -16,7 +16,7 @@
#define ICU_EOI 0x20 /* XXX - define elsewhere */
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
#ifdef AUTO_EOI_1
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */

View file

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
*/
/*
@ -16,7 +16,7 @@
#define ICU_EOI 0x20 /* XXX - define elsewhere */
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
#ifdef AUTO_EOI_1
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */

View file

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
*/
/*
@ -16,7 +16,7 @@
#define ICU_EOI 0x20 /* XXX - define elsewhere */
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
#ifdef AUTO_EOI_1
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */