aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-24 20:53:36 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-24 20:53:36 +0000
commit65c552e308c59f2fb8523446a627e1791134aaef (patch)
tree6bb93427fa69efe7548b28aba83e43008ebc497e /ld/ldlang.c
parent453063fec98152e060702951dc634aebd06db9ed (diff)
downloadgdb-65c552e308c59f2fb8523446a627e1791134aaef.zip
gdb-65c552e308c59f2fb8523446a627e1791134aaef.tar.gz
gdb-65c552e308c59f2fb8523446a627e1791134aaef.tar.bz2
Added the sizeof_headers keyword.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index b124ac7..ba165bd 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1060,7 +1060,7 @@ DEFUN(print_data_statement,(data),
print_space();
print_section("");
print_space();
- ASSERT(print_dot == data->output_vma);
+/* ASSERT(print_dot == data->output_vma);*/
print_address(data->output_vma);
print_space();
@@ -1352,7 +1352,7 @@ DEFUN(lang_size_sections,(s, output_section_statement, prev, fill, dot),
case lang_data_statement_enum:
{
unsigned int size;
- s->data_statement.output_vma = dot;
+ s->data_statement.output_vma = dot - output_section_statement->bfd_section->vma;
s->data_statement.output_section =
output_section_statement->bfd_section;