diff --git a/include/ChangeLog b/include/ChangeLog index 9dee8dd2a..92c170ec3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-03-16 H.J. Lu + + * bfdlink.h (bfd_link_info): Add gc_sections. + 2005-03-12 Zack Weinberg * opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T. diff --git a/include/bfdlink.h b/include/bfdlink.h index 9d9315437..ad3290644 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -324,6 +324,9 @@ struct bfd_link_info /* TRUE if we should warn when adding a DT_TEXTREL to a shared object. */ unsigned int warn_shared_textrel: 1; + /* TRUE if unreferenced sections should be removed. */ + unsigned int gc_sections: 1; + /* What to do with unresolved symbols in an object file. When producing executables the default is GENERATE_ERROR. When producing shared libraries the default is IGNORE. The