david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Remove unused attribute from __table macros; the tables are no longer

static since otherwise gcc4 optimises them away completely.  Also, it
really *is* an error if the table start and end are unused, so they
certainly shouldn't be marked with attribute unused.
This commit is contained in:
Michael Brown 2006-08-07 17:06:31 +00:00
parent d0e4f198d6
commit ecdcdea1af
1 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@
*
*/
#define __table(table,idx) \
__attribute__ (( unused, __table_section(table,idx) ))
__attribute__ (( __table_section(table,idx) ))
/**
* Linker table start marker.
@ -208,7 +208,7 @@
*
*/
#define __table_start(table) \
__attribute__ (( unused, __table_section_start(table) ))
__attribute__ (( __table_section_start(table) ))
/**
* Linker table end marker.
@ -224,6 +224,6 @@
*
*/
#define __table_end(table) \
__attribute__ (( unused, __table_section_end(table) ))
__attribute__ (( __table_section_end(table) ))
#endif /* _GPXE_TABLES_H */