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:
b12e747
)
* elf.c (elfcore_write_note): Pad to 4-byte boundary.
author
Alan Modra
<amodra@gmail.com>
Sun, 29 Oct 2006 23:49:37 +0000
(23:49 +0000)
committer
Alan Modra
<amodra@gmail.com>
Sun, 29 Oct 2006 23:49:37 +0000
(23:49 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 38dbdbd96dfdeece7e78a09ae938f187d34c6dff..b5f6c42b94bf815c8e425347e485b8f2eb2b4e27 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2006-10-30 Alan Modra <amodra@bigpond.net.au>
+
+ * elf.c (elfcore_write_note): Pad to 4-byte boundary.
+
2006-10-28 Richard Sandiford <richard@codesourcery.com>
* elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
diff --git
a/bfd/elf.c
b/bfd/elf.c
index 24ca6df7c9e3cfef7883e933c37a30a49f8b0e86..747310bf5879822779678455fccca4f7bb3130ca 100644
(file)
--- a/
bfd/elf.c
+++ b/
bfd/elf.c
@@
-8120,7
+8120,7
@@
elfcore_write_note (bfd *abfd,
namesz = strlen (name) + 1;
bed = get_elf_backend_data (abfd);
- pad = -namesz &
((1 << bed->s->log_file_align) - 1)
;
+ pad = -namesz &
3
;
}
newspace = 12 + namesz + pad + size;