This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Committed, gas/read.c: Use ATTRIBUTE_UNUSED_LABEL for label, notATTRIBUTE_UNUSED.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Sat, 31 Aug 2002 14:52:39 -0400 (EDT)
- Subject: Committed, gas/read.c: Use ATTRIBUTE_UNUSED_LABEL for label, notATTRIBUTE_UNUSED.
Matters when you compile with gcc-2.7.2. Committed as obvious.
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.
Index: read.c
===================================================================
RCS file: /cvs/src/src/gas/read.c,v
retrieving revision 1.54
diff -p -c -r1.54 read.c
*** read.c 27 Aug 2002 11:09:42 -0000 1.54
--- read.c 31 Aug 2002 18:47:47 -0000
*************** do_align (n, fill, len, max)
*** 1197,1203 ****
}
#ifdef md_do_align
! just_record_alignment: ATTRIBUTE_UNUSED
#endif
record_alignment (now_seg, n - OCTETS_PER_BYTE_POWER);
--- 1197,1203 ----
}
#ifdef md_do_align
! just_record_alignment: ATTRIBUTE_UNUSED_LABEL
#endif
record_alignment (now_seg, n - OCTETS_PER_BYTE_POWER);
brgds, H-P