aboutsummaryrefslogtreecommitdiff
path: root/include/plugin-api.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-09-22 16:37:41 +0000
committerIan Lance Taylor <ian@airs.com>2008-09-22 16:37:41 +0000
commitbbb444b67aa83b3a4caac4642b3d9eb5a6cc2148 (patch)
tree25877cff958548915702fa49685efda04e7e3acd /include/plugin-api.h
parentb90a069ad92f24ef5f8b0343f3c2c25701016b0c (diff)
downloadfsf-binutils-gdb-bbb444b67aa83b3a4caac4642b3d9eb5a6cc2148.zip
fsf-binutils-gdb-bbb444b67aa83b3a4caac4642b3d9eb5a6cc2148.tar.gz
fsf-binutils-gdb-bbb444b67aa83b3a4caac4642b3d9eb5a6cc2148.tar.bz2
* plugin-api.h (ld_plugin_status): Remove comma from the last item.
Use C style comment. (ld_plugin_api_version, ld_plugin_output_file_type, ld_plugin_symbol_kind, ld_plugin_symbol_visibility, ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove comma from the last item.
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r--include/plugin-api.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 9863086..45b5820 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -39,8 +39,8 @@ extern "C"
enum ld_plugin_status
{
LDPS_OK = 0,
- LDPS_NO_SYMS, // Attempt to get symbols that haven't been added.
- LDPS_ERR,
+ LDPS_NO_SYMS, /* Attempt to get symbols that haven't been added. */
+ LDPS_ERR
/* Additional Error codes TBD. */
};
@@ -48,7 +48,7 @@ enum ld_plugin_status
enum ld_plugin_api_version
{
- LD_PLUGIN_API_VERSION = 1,
+ LD_PLUGIN_API_VERSION = 1
};
/* The type of output file being generated by the linker. */
@@ -57,7 +57,7 @@ enum ld_plugin_output_file_type
{
LDPO_REL,
LDPO_EXEC,
- LDPO_DYN,
+ LDPO_DYN
};
/* An input file managed by the plugin library. */
@@ -92,7 +92,7 @@ enum ld_plugin_symbol_kind
LDPK_WEAKDEF,
LDPK_UNDEF,
LDPK_WEAKUNDEF,
- LDPK_COMMON,
+ LDPK_COMMON
};
/* The visibility of the symbol. */
@@ -102,7 +102,7 @@ enum ld_plugin_symbol_visibility
LDPV_DEFAULT,
LDPV_PROTECTED,
LDPV_INTERNAL,
- LDPV_HIDDEN,
+ LDPV_HIDDEN
};
/* How a symbol is resolved. */
@@ -117,7 +117,7 @@ enum ld_plugin_symbol_resolution
LDPR_PREEMPTED_IR,
LDPR_RESOLVED_IR,
LDPR_RESOLVED_EXEC,
- LDPR_RESOLVED_DYN,
+ LDPR_RESOLVED_DYN
};
/* The plugin library's "claim file" handler. */
@@ -189,7 +189,7 @@ enum ld_plugin_level
LDPL_INFO,
LDPL_WARNING,
LDPL_ERROR,
- LDPL_FATAL,
+ LDPL_FATAL
};
/* Values for the tv_tag field of the transfer vector. */
@@ -207,7 +207,7 @@ enum ld_plugin_tag
LDPT_ADD_SYMBOLS,
LDPT_GET_SYMBOLS,
LDPT_ADD_INPUT_FILE,
- LDPT_MESSAGE,
+ LDPT_MESSAGE
};
/* The plugin transfer vector. */