This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/bfd ChangeLog elf-bfd.h elf.c elflink.c
- From: hjl at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 1 Apr 2005 03:49:47 -0000
- Subject: src/bfd ChangeLog elf-bfd.h elf.c elflink.c
CVSROOT: /cvs/src
Module name: src
Changes by: hjl@sourceware.org 2005-04-01 03:49:46
Modified files:
bfd : ChangeLog elf-bfd.h elf.c elflink.c
Log message:
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_check_kept_section): New.
* elf.c (assign_section_numbers): When sh_link points to a
discarded section, call _bfd_elf_check_kept_section to see if
the kept section can be used. Otherwise reject sh_link
pointing to discarded section.
* elflink.c (_bfd_elf_check_kept_section): New.
(elf_link_input_bfd): Use it.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.3014&r2=1.3015
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.177&r2=1.178
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.273&r2=1.274
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.143&r2=1.144