Committed, gas/read.c: Use ATTRIBUTE_UNUSED_LABEL for label, not ATTRIBUTE_UNUSED.
Hans-Peter Nilsson
hp@bitrange.com
Sat Aug 31 11:52:00 GMT 2002
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
More information about the Binutils
mailing list