projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e1828
)
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
author
Alan Modra
<amodra@gmail.com>
Thu, 4 Jan 2007 13:30:39 +0000
(13:30 +0000)
committer
Alan Modra
<amodra@gmail.com>
Thu, 4 Jan 2007 13:30:39 +0000
(13:30 +0000)
SEC_EXCLUDE on zero size .eh_frame.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf-eh-frame.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 82216d69382b1c9343288d787d1c5dbf3e4b605d..c2101cabd44addbc3a87808a7a8499e8cc17f79e 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2007-01-04 Jie Zhang <jie.zhang@analog.com>
+
+ * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
+ SEC_EXCLUDE on zero size .eh_frame.
+
2006-12-31 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
diff --git
a/bfd/elf-eh-frame.c
b/bfd/elf-eh-frame.c
index 2aa61e14e218605315236942653d36413a0fc128..acc75a8569effe85132c1b8f406792a22eefb84c 100644
(file)
--- a/
bfd/elf-eh-frame.c
+++ b/
bfd/elf-eh-frame.c
@@
-927,8
+927,6
@@
_bfd_elf_discard_section_eh_frame
/* Resize the sec as needed. */
sec->rawsize = sec->size;
sec->size = offset;
- if (sec->size == 0)
- sec->flags |= SEC_EXCLUDE;
free (ehbuf);
if (ecies)