This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make the compiler do the math 2.


Hi Pedro,

bfd/ChangeLog

2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>

* bfd-in.h (CONST_STRNCPY) : Delete.
(LITCPY) : New.
* bfd-in2.h : Regenerate.
* elflink.c (bfd_elf_gc_sections) : Use LITCPY. Don't manually calculate string lengths.
* nlmcode.h (nlm_swap_auxiliary_headers_in) : Use LITCPY.


binutils/ChangeLog

2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>

   * nlmconv.c (main) : Use LITCPY.
   * prdbg.c (tg_class_static_member) : Likewise.

(Much checking later...) Approved and applied. I renamed the macro to LITMEMCPY so that we could also have a LITSTRCPY for when we really do want to copy the NUL at the end of the string.


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]