From: Joseph Myers Date: Fri, 29 Jun 2007 20:04:26 +0000 (+0000) Subject: * as.c (main): Only call create_obj_attrs_section if IS_ELF. X-Git-Tag: binutils-2_18-branchpoint~340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ace4e4c069e214d13ef4289b57a6bad08050ecf;p=thirdparty%2Fbinutils-gdb.git * as.c (main): Only call create_obj_attrs_section if IS_ELF. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 64268609f2e..5a9e725488a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-06-29 Joseph Myers + + * as.c (main): Only call create_obj_attrs_section if IS_ELF. + 2007-06-29 Joseph Myers * as.c (create_obj_attrs_section): New. diff --git a/gas/as.c b/gas/as.c index c1315eb7685..b05f9d514a3 100644 --- a/gas/as.c +++ b/gas/as.c @@ -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