aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-05-31 01:57:27 +0000
committerIan Lance Taylor <ian@airs.com>1997-05-31 01:57:27 +0000
commite08eb976ab377f8c5eab2e30fa8c6ec73e71bc15 (patch)
tree6cba29d2b1ea86c90317e615e059f97c7e022eb3 /bfd
parent907f6015c0fb47096744f82b9695de02a0c8db4d (diff)
downloadgdb-e08eb976ab377f8c5eab2e30fa8c6ec73e71bc15.zip
gdb-e08eb976ab377f8c5eab2e30fa8c6ec73e71bc15.tar.gz
gdb-e08eb976ab377f8c5eab2e30fa8c6ec73e71bc15.tar.bz2
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
for a section even if it is not loaded. Otherwise compiling this static char bar; char *foo() { return &bar; } without -fpic and then doing ld -shared OBJECT dumps core.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d61e9c7..810032b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Fri May 30 12:46:27 1997 Ian Lance Taylor <ian@cygnus.com>
+ * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
+ for a section even if it is not loaded.
+
* cofflink.c (coff_link_add_symbols): If PE file, don't subtract
section VMA.
(_bfd_coff_link_input_bfd): Separate section VMA handling for