aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-09-14 11:48:26 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-09-14 11:48:26 +0000
commitbf514e21545d180ded6d754fda60875d7dd0d3ae (patch)
tree9c6debbad8f1227c2c2789dacd9a19f7b21f9b61 /gas/config/obj-elf.c
parent06bb75c14b0fc428602fd81f9de747b220f436dd (diff)
downloadgdb-bf514e21545d180ded6d754fda60875d7dd0d3ae.zip
gdb-bf514e21545d180ded6d754fda60875d7dd0d3ae.tar.gz
gdb-bf514e21545d180ded6d754fda60875d7dd0d3ae.tar.bz2
2000-09-13 Kazu Hirata <kazu@hxi.com>
* config/obj-ecoff.c: Fix formatting. * config/obj-elf.c: Likewise. * config/obj-elf.h: Likewise. * config/obj-evax.h: Likewise. * config/obj-generic.h: Likewise. * config/obj-hp300.c: Likewise. * config/obj-hp300.h: Likewise. * config/obj-ieee.h: Likewise. * config/obj-vms.c: Likewise. * config/obj-vms.h: Likewise.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 453a395..4e7f3a36 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -17,7 +17,7 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ 02111-1307, USA. */
#define OBJ_HEADER "obj-elf.h"
#include "as.h"
@@ -96,7 +96,7 @@ static const pseudo_typeS elf_pseudo_table[] =
{"version", obj_elf_version, 0},
{"weak", obj_elf_weak, 0},
- /* These define symbol visibility. */
+ /* These define symbol visibility. */
{"internal", obj_elf_visibility, STV_INTERNAL},
{"hidden", obj_elf_visibility, STV_HIDDEN},
{"protected", obj_elf_visibility, STV_PROTECTED},
@@ -114,7 +114,7 @@ static const pseudo_typeS elf_pseudo_table[] =
{"vtable_inherit", (void (*) PARAMS ((int))) &obj_elf_vtable_inherit, 0},
{"vtable_entry", (void (*) PARAMS ((int))) &obj_elf_vtable_entry, 0},
- /* These are used for dwarf. */
+ /* These are used for dwarf. */
{"2byte", cons, 2},
{"4byte", cons, 4},
{"8byte", cons, 8},
@@ -542,7 +542,6 @@ obj_elf_visibility (visibility)
demand_empty_rest_of_line ();
}
-
static segT previous_section;
static int previous_subsection;
@@ -555,7 +554,6 @@ struct section_stack
static struct section_stack *section_stack;
-
/* Handle the .section pseudo-op. This code supports two different
syntaxes.
@@ -1083,7 +1081,7 @@ obj_elf_line (ignore)
int ignore ATTRIBUTE_UNUSED;
{
/* Assume delimiter is part of expression. BSD4.2 as fails with
- delightful bug, so we are not being incompatible here. */
+ delightful bug, so we are not being incompatible here. */
new_logical_line ((char *) NULL, (int) (get_absolute_expression ()));
demand_empty_rest_of_line ();
}
@@ -1306,7 +1304,7 @@ obj_elf_version (ignore)
SKIP_WHITESPACE ();
if (*input_line_pointer == '\"')
{
- ++input_line_pointer; /* -> 1st char of string. */
+ ++input_line_pointer; /* -> 1st char of string. */
name = input_line_pointer;
while (is_a_char (c = next_char_of_string ()))
@@ -1512,9 +1510,9 @@ obj_elf_init_stab_section (seg)
UnixWare ar crashes. */
bfd_set_section_alignment (stdoutput, seg, 2);
- /* Make space for this first symbol. */
+ /* Make space for this first symbol. */
p = frag_more (12);
- /* Zero it out. */
+ /* Zero it out. */
memset (p, 0, 12);
as_where (&file, (unsigned int *) NULL);
stabstr_name = (char *) alloca (strlen (segment_name (seg)) + 4);
@@ -1682,7 +1680,7 @@ elf_frob_symbol (symp, puntp)
final loop over the symbol table. We can get away with
it only because the symbol goes to the end of the list,
where the loop will still see it. It would probably be
- better to do this in obj_frob_file_before_adjust. */
+ better to do this in obj_frob_file_before_adjust. */
symp2 = symbol_find_or_make (sy_obj->versioned_name);