diff mbox

[jit] libgccjit.map: Sort the symbols alphabetically

Message ID 1381799619-4389-1-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm Oct. 15, 2013, 1:13 a.m. UTC
Committed to dmalcolm/jit.

---
 gcc/jit/ChangeLog.jit |  4 ++++
 gcc/jit/libgccjit.map | 61 ++++++++++++++++++++++++++-------------------------
 2 files changed, 35 insertions(+), 30 deletions(-)

\ No newline at end of file
diff mbox

Patch

diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/ChangeLog.jit
index 5c06a72..d998134 100644
--- a/gcc/jit/ChangeLog.jit
+++ b/gcc/jit/ChangeLog.jit
@@ -1,5 +1,9 @@ 
 2013-10-14  David Malcolm  <dmalcolm@redhat.com>
 
+	* libgccjit.map: Alphabetize the exported symbols.
+
+2013-10-14  David Malcolm  <dmalcolm@redhat.com>
+
 	* internal-api.c (gcc::jit::context::new_field): Implement
 	location support, by calling set_tree_location.
 	(gcc::jit::context::new_struct_type): Likewise.
diff --git a/gcc/jit/libgccjit.map b/gcc/jit/libgccjit.map
index 859dc5e..2fbd95f 100644
--- a/gcc/jit/libgccjit.map
+++ b/gcc/jit/libgccjit.map
@@ -1,54 +1,55 @@ 
 # Linker script for libgccjit.so
 {
   global:
+    # Keep this list sorted alphabetically:
     gcc_jit_context_acquire;
-    gcc_jit_context_release;
-    gcc_jit_context_set_code_factory;
-    gcc_jit_context_new_location;
-    gcc_jit_context_get_void_type;
+    gcc_jit_context_compile;
     gcc_jit_context_get_char_type;
-    gcc_jit_context_get_int_type;
-    gcc_jit_context_get_float_type;
     gcc_jit_context_get_double_type;
-    gcc_jit_type_get_pointer;
-    gcc_jit_type_get_const;
+    gcc_jit_context_get_float_type;
+    gcc_jit_context_get_int_type;
+    gcc_jit_context_get_void_type;
+    gcc_jit_context_new_array_lookup;
+    gcc_jit_context_new_binary_op;
+    gcc_jit_context_new_call;
+    gcc_jit_context_new_comparison;
     gcc_jit_context_new_field;
-    gcc_jit_context_new_struct_type;
-    gcc_jit_context_new_param;
-    gcc_jit_param_as_lvalue;
-    gcc_jit_param_as_rvalue;
+    gcc_jit_context_new_field_access;
     gcc_jit_context_new_function;
-    gcc_jit_function_new_forward_label;
     gcc_jit_context_new_global;
     gcc_jit_context_new_local;
-    gcc_jit_local_as_lvalue;
-    gcc_jit_local_as_rvalue;
-    gcc_jit_lvalue_as_rvalue;
+    gcc_jit_context_new_location;
+    gcc_jit_context_new_param;
     gcc_jit_context_new_rvalue_from_int;
-    gcc_jit_context_zero;
-    gcc_jit_context_one;
     gcc_jit_context_new_string_literal;
-    gcc_jit_context_new_binary_op;
-    gcc_jit_context_new_comparison;
-    gcc_jit_context_new_call;
-    gcc_jit_context_new_array_lookup;
-    gcc_jit_context_new_field_access;
-    gcc_jit_function_add_eval;
+    gcc_jit_context_new_struct_type;
+    gcc_jit_context_one;
+    gcc_jit_context_release;
+    gcc_jit_context_set_bool_option;
+    gcc_jit_context_set_code_factory;
+    gcc_jit_context_set_int_option;
+    gcc_jit_context_set_str_option;
+    gcc_jit_context_zero;
     gcc_jit_function_add_assignment;
     gcc_jit_function_add_assignment_op;
     gcc_jit_function_add_conditional;
-    gcc_jit_function_add_label;
-    gcc_jit_function_place_forward_label;
+    gcc_jit_function_add_eval;
     gcc_jit_function_add_jump;
+    gcc_jit_function_add_label;
     gcc_jit_function_add_return;
+    gcc_jit_function_new_forward_label;
     gcc_jit_function_new_loop;
+    gcc_jit_function_place_forward_label;
+    gcc_jit_local_as_lvalue;
+    gcc_jit_local_as_rvalue;
     gcc_jit_loop_end;
-    gcc_jit_context_set_str_option;
-    gcc_jit_context_set_int_option;
-    gcc_jit_context_set_bool_option;
-    gcc_jit_context_compile;
+    gcc_jit_lvalue_as_rvalue;
+    gcc_jit_param_as_lvalue;
+    gcc_jit_param_as_rvalue;
     gcc_jit_result_get_code;
     gcc_jit_result_release;
+    gcc_jit_type_get_const;
+    gcc_jit_type_get_pointer;
 
   local: *;
 };