| To: | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Subject: | Re: Compiler Problems in tlbex-r4k.S |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Thu, 23 Oct 2003 18:33:31 +0200 |
| Cc: | Ralf R?sch <ralf.roesch@rw-gmbh.de>, Linux/MIPS Development <linux-mips@linux-mips.org> |
| In-reply-to: | <Pine.GSO.4.21.0310231142250.27218-100000@waterleaf.sonytel.be> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <NHBBLBCCGMJFJIKAMKLHOEIJCBAA.ralf.roesch@rw-gmbh.de> <Pine.GSO.4.21.0310231142250.27218-100000@waterleaf.sonytel.be> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.1i |
On Thu, Oct 23, 2003 at 11:43:27AM +0200, Geert Uytterhoeven wrote: > > If I change the line 43 from: > > #define PTE_PAGE_SIZE (1L << PTE_PAGE_SHIFT) > > to > > #define PTE_PAGE_SIZE (1 << PTE_PAGE_SHIFT) > > the compiling is o.k. The fix for this went into CVS yesterday. > That's a programming error. The assembler doesn't know 1L, it needs plain 1. > > Yes, it makes life hard, if you want to share your definitions between the > C compiler and the assembler. It's a PITA that gas doesn't accept constants in the same syntax as C does. It means we have to extract many constants into offset.h before they can be used in assembler code. One of the small things on my wishlist for x-mas ;-) Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Compiler Problems in tlbex-r4k.S, Geert Uytterhoeven |
|---|---|
| Next by Date: | Re: Packages for RH 7.3/mips, Steven J. Hill |
| Previous by Thread: | Re: Compiler Problems in tlbex-r4k.S, Geert Uytterhoeven |
| Next by Thread: | Re: Compiler Problems in tlbex-r4k.S, Kip Walker |
| Indexes: | [Date] [Thread] [Top] [All Lists] |