* as.c (main): Only call create_obj_attrs_section if IS_ELF.

This commit is contained in:
Joseph Myers 2007-06-29 20:04:26 +00:00
parent a19bcec6a7
commit 7ace4e4c06
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-29 Joseph Myers <joseph@codesourcery.com>
* as.c (main): Only call create_obj_attrs_section if IS_ELF.
2007-06-29 Joseph Myers <joseph@codesourcery.com>
* as.c (create_obj_attrs_section): New.

View File

@ -1174,7 +1174,8 @@ main (int argc, char ** argv)
#endif
#ifdef OBJ_ELF
create_obj_attrs_section ();
if (IS_ELF)
create_obj_attrs_section ();
#endif
#if defined OBJ_ELF || defined OBJ_MAYBE_ELF