[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need --divide flag for assembly of startup.S on some platforms
From: |
Colin Watson |
Subject: |
Re: Need --divide flag for assembly of startup.S on some platforms |
Date: |
Thu, 2 Dec 2010 21:29:20 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Dec 02, 2010 at 01:15:10PM -0800, Seth Goldberg wrote:
> When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms
> chokes on this line:
>
> movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx
>
> Because on non i386-linux targets, '/' is used as a comment delimiter
> for compatibility purposes. This can be overridden with the --divide
> switch.
>
> Since the default for gas on these platforms is to use he division
> operator as a comment delimiter, the "-Wa,--divide" flags need to be
> passed on the gcc command line when assembling such files.
Can we just use >> 1 instead?
--
Colin Watson address@hidden
- BtrFS available in experimental, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/12/01
- Re: BtrFS available in experimental, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/12/02
- Need --divide flag for assembly of startup.S on some platforms, Seth Goldberg, 2010/12/02
- Re: Need --divide flag for assembly of startup.S on some platforms,
Colin Watson <=
- Re: Need --divide flag for assembly of startup.S on some platforms, Seth Goldberg, 2010/12/02
- Error building grub-emu (gnulib/progname.c), Seth Goldberg, 2010/12/02
- Re: Error building grub-emu (gnulib/progname.c), Seth Goldberg, 2010/12/02
- Re: Error building grub-emu (gnulib/progname.c), Seth Goldberg, 2010/12/02
- Another error building grub-emu (gnulib/error.c), Seth Goldberg, 2010/12/02
- Re: Another error building grub-emu (gnulib/error.c), Seth Goldberg, 2010/12/02
- Re: Need --divide flag for assembly of startup.S on some platforms, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/12/02
- Re: Need --divide flag for assembly of startup.S on some platforms, Colin Watson, 2010/12/04
- Re: Need --divide flag for assembly of startup.S on some platforms, Colin Watson, 2010/12/04
- Need LARGEFILE_SOURCE && _FILE_OFFSET_BITS=64, Seth Goldberg, 2010/12/03