aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-08 19:23:35 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-08 19:23:35 +0000
commita0ad303552a9f203f4dbd697403f058756d0f92d (patch)
treeb780680d239e51c578abbcb129e128eb04bcc3bc /ld/ldlang.c
parentd0ec7a8ee45ad23107d26161b3499d33b99922a6 (diff)
downloadgdb-a0ad303552a9f203f4dbd697403f058756d0f92d.zip
gdb-a0ad303552a9f203f4dbd697403f058756d0f92d.tar.gz
gdb-a0ad303552a9f203f4dbd697403f058756d0f92d.tar.bz2
Lint
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 453666d..50bb103 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -506,7 +506,7 @@ DEFUN(init_os,(s),
/* We initialize an output sections output offset to minus its own */
/* vma to allow us to output a section through itself */
s->bfd_section->output_offset = 0;
- get_userdata( s->bfd_section) = new;
+ get_userdata( s->bfd_section) = (PTR)new;
}
/***********************************************************************
@@ -1996,7 +1996,7 @@ DEFUN_VOID(lang_process)
current_target = default_target;
lang_for_each_statement(open_input_bfds);
- common_section.userdata = &common_section_userdata;
+ common_section.userdata = (PTR)&common_section_userdata;
/* Run through the contours of the script and attatch input sections
to the correct output sections