diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-19 20:01:07 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-19 20:01:07 +0000 |
commit | 8e86815b1cdf698a6117f38b39cac341017ac418 (patch) | |
tree | 181edac21807efd8f6258743676f9e7b74a95565 /gas/write.c | |
parent | acae2683a9b2487b2ec93614e6ddc69de776d3ac (diff) | |
download | gdb-8e86815b1cdf698a6117f38b39cac341017ac418.zip gdb-8e86815b1cdf698a6117f38b39cac341017ac418.tar.gz gdb-8e86815b1cdf698a6117f38b39cac341017ac418.tar.bz2 |
Cleanup of VAX and VMS code, from Pat Rankin:
* config/obj-vms.c: Changed exported function names to lower case. (Changed
call sites in write.c.) Declare VMS system function names used, conditional on
actually being on VMS. Changed many functions that returned no useful value to
now be declared to return void. Removed many unused variables. Supply missing
return statements or values. Supply `default' case in switch statements.
Ensure local variables get initialized.
* config/tc-vax.c: Minor changes to silence "gcc -Wall".
* config/obj-vms.h, config/tc-vax.h: Added some missing declarations.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c index 63084e1..92a9e08 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1177,7 +1177,7 @@ write_object_file () /* Under VMS we try to be compatible with VAX-11 "C". Thus, we call a routine to check for the definition of the procedure "_main", and if so -- fix it up so that it can be program entry point. */ - VMS_Check_For_Main (); + vms_check_for_main (); #endif /* VMS */ /* After every sub-segment, we fake an ".align ...". This conforms to @@ -1527,7 +1527,7 @@ write_object_file () /* * Now do the VMS-dependent part of writing the object file */ - VMS_write_object_file (H_GET_TEXT_SIZE (&headers), + vms_write_object_file (H_GET_TEXT_SIZE (&headers), H_GET_DATA_SIZE (&headers), H_GET_BSS_SIZE (&headers), text_frag_root, data_frag_root); |