From f3b574bf97c26bf49cad6a901c94cf831f3c362d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 6 May 2011 14:48:56 +0000 Subject: 2011-05-06 Tristan Gingold * read.c (s_comm_internal): Remove code for OBJ_VMS. (s_data): Ditto. (s_text): Ditto. * write.c (write_object_file): Ditto. * symbols.c (define_sym_at_dot): Ditto. (colon): Ditto. --- gas/read.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gas/read.c') diff --git a/gas/read.c b/gas/read.c index 5cca366cecf..3a1805f9334 100644 --- a/gas/read.c +++ b/gas/read.c @@ -1508,13 +1508,6 @@ s_comm_internal (int param, S_SET_VALUE (symbolP, (valueT) size); S_SET_EXTERNAL (symbolP); S_SET_SEGMENT (symbolP, bfd_com_section_ptr); -#ifdef OBJ_VMS - { - extern int flag_one; - if (size == 0 || !flag_one) - S_GET_OTHER (symbolP) = const_flag; - } -#endif } demand_empty_rest_of_line (); @@ -1653,9 +1646,6 @@ s_data (int ignore ATTRIBUTE_UNUSED) subseg_set (section, (subsegT) temp); -#ifdef OBJ_VMS - const_flag = 0; -#endif demand_empty_rest_of_line (); } @@ -3463,9 +3453,6 @@ s_text (int ignore ATTRIBUTE_UNUSED) temp = get_absolute_expression (); subseg_set (text_section, (subsegT) temp); demand_empty_rest_of_line (); -#ifdef OBJ_VMS - const_flag &= ~IN_DEFAULT_SECTION; -#endif } /* .weakref x, y sets x as an alias to y that, as long as y is not -- cgit v1.2.1