PATCH: 2.15 ELF linker warning section leaking
H. J. Lu
hjl@lucon.org
Fri Oct 15 23:43:00 GMT 2004
More information about the Binutils mailing list
Fri Oct 15 23:43:00 GMT 2004
- Previous message (by thread): Migrate to a better life in USA/Canada or European Union....
- Next message (by thread): PATCH: 2.15 ELF linker warning section leaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got a bug report that 2.15 linker generates bad output under certain conditions where warning sections leaked into .text output. This patch seems to fix it. It seems to safe to me. Any comments? H.J. --- 2004-10-15 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Also clear _cooked_size for warning sections. --- bfd/elflink.c.warning 2004-10-14 15:09:58.000000000 -0700 +++ bfd/elflink.c 2004-10-15 16:35:00.835418219 -0700 @@ -3014,6 +3014,7 @@ elf_link_add_object_symbols (bfd *abfd, /* Clobber the section size so that the warning does not get copied into the output file. */ s->_raw_size = 0; + s->_cooked_size = 0; } } }
- Previous message (by thread): Migrate to a better life in USA/Canada or European Union....
- Next message (by thread): PATCH: 2.15 ELF linker warning section leaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list