1 /* Mach-O object file format
2 Copyright 2009 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 3,
9 or (at your option) any later version.
11 GAS is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
14 the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21 #define OBJ_HEADER "obj-macho.h"
27 obj_mach_o_weak (int ignore ATTRIBUTE_UNUSED
)
35 /* Get symbol name. */
36 name
= input_line_pointer
;
37 c
= get_symbol_end ();
38 symbolP
= symbol_find_or_make (name
);
40 *input_line_pointer
= c
;
48 while (*input_line_pointer
!= '\n');
49 demand_empty_rest_of_line ();
52 const pseudo_typeS mach_o_pseudo_table
[] =
54 {"weak", obj_mach_o_weak
, 0},