* config/obj-elf.c (get_sym_from_input_line_and_check): New
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 15 Jul 2010 14:34:42 +0000 (14:34 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Thu, 15 Jul 2010 14:34:42 +0000 (14:34 +0000)
commit6e8bd58f83483eae7876138516e0131e82cfa369
tree43c9ea0133b6e24586608fd1fae1f26c70a6535e
parent1e17085deafbe5810325beee249549d23e778ce1
* config/obj-elf.c (get_sym_from_input_line_and_check): New
function to catch missing pseudo-op arguments.
(obj_elf_local): Call new function.
(obj_elf_weak): Likewise.
(obj_elf_visibility): Likewise.
(obj_elf_vtable_entry): Likewise.
(obj_elf_type): Likewise.

testsuite/
* gas/elf/pseudo.s: New.
* gas/elf/pseudo.l: New.
* gas/elf/pseudo.d: New.
* gas/elf/elf.exp: Run the new test.
gas/ChangeLog
gas/config/obj-elf.c
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/pseudo.d [new file with mode: 0644]
gas/testsuite/gas/elf/pseudo.l [new file with mode: 0644]
gas/testsuite/gas/elf/pseudo.s [new file with mode: 0644]