[PATCH][Z80] disallow redefining constants with equ

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH][Z80] disallow redefining constants with equ

Bugzilla from arnold.metselaar@planet.nl
Hello,

The patch below makes gas for target Z80 disallow redefining
symbols with equ. It also includes a fix for a typo in the
documentation.

Arnold Metselaar

Changelog

gas/
*config/tc-z80.c(z80_start_line_hook): issue an error when
redefining a symbol with equ
*doc/as.texinfo(equ<z80>): mention difference with .equiv
*doc/as.texinfo(err): fix typo
*doc/c-z80.texi(equ): redefining a symbol with equ is no longer
allowed

check_equ.patch (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][Z80] disallow redefining constants with equ

Nick Clifton
Hi Arnold,

> gas/
> *config/tc-z80.c(z80_start_line_hook): issue an error when
> redefining a symbol with equ
> *doc/as.texinfo(equ<z80>): mention difference with .equiv
> *doc/as.texinfo(err): fix typo
> *doc/c-z80.texi(equ): redefining a symbol with equ is no longer
> allowed

Now that you are officially the Z80 maintainer please feel free to Z80
specific patches like this in without checking for permission first.
Please do still post the patches to the mailing list so that they are
archived and please do follow the normal acceptance procedures for
non-Z80 specific patches, or even patches that are partially non-Z80
specific.

Cheers
   Nick

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][Z80] disallow redefining constants with equ

Bugzilla from arnold.metselaar@planet.nl
In reply to this post by Bugzilla from arnold.metselaar@planet.nl
Op maandag 14 november 2005 14:02, schreef Arnold Metselaar:
> gas/
> *config/tc-z80.c(z80_start_line_hook): issue an error when
> redefining a symbol with equ
> *doc/as.texinfo(equ<z80>): mention difference with .equiv
> *doc/as.texinfo(err): fix typo
> *doc/c-z80.texi(equ): redefining a symbol with equ is no
> longer allowed

Applied