Extend "ld --unique" functionality.
[binutils-gdb.git] / ld / ChangeLog
index a2fc7330f0867036d840573966457cce68a4040c..edab167b3cc1a10f316f8d4bddc499ccdd5423f7 100644 (file)
@@ -1,3 +1,33 @@
+2001-01-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
+       rummage through the script for sections on the unique list.
+       Correct length of strncmp for ".note".
+       (gld${EMULATION_NAME}_check_needed): Rearrange function.
+
+       * ldlang.c (unique_section_list): New var.
+       (unique_section_p): New function.
+       (walk_wild_section): Don't match sections on unique_section_list.
+       (lang_add_unique): New function.
+
+       * ldlang.h (struct unique_sections): Declare.
+       (unique_section_list): Declare.
+       (unique_section_p): Declare.
+       (lang_add_unique): Declare.
+
+       * lexsup.c (ld_options): Allow --unique to take an optional arg.
+       (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
+
+       * ld.texinfo (--unique): Update.
+
+2001-01-13  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args): Remove spurious white space.
+
+2001-01-12  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args): Update copyright date.
+
 2001-01-12  Philip Blundell  <pb@futuretv.com>
 
        * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.