diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-06-29 20:04:26 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2007-06-29 20:04:26 +0000 |
commit | 7ace4e4c069e214d13ef4289b57a6bad08050ecf (patch) | |
tree | b119a9d6f1438dcfe3babdc95eb196877738864d /gas | |
parent | a19bcec6a7fd59541beeb1584cf5a6432ff114ee (diff) | |
download | gdb-7ace4e4c069e214d13ef4289b57a6bad08050ecf.zip gdb-7ace4e4c069e214d13ef4289b57a6bad08050ecf.tar.gz gdb-7ace4e4c069e214d13ef4289b57a6bad08050ecf.tar.bz2 |
* as.c (main): Only call create_obj_attrs_section if IS_ELF.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/as.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 6426860..5a9e725 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 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. (main): Call create_obj_attrs_section for ELF. * read.c (s_gnu_attribute, skip_whitespace, skip_past_char, @@ -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 |