diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-01-21 05:40:24 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-01-21 05:40:24 +0000 |
commit | 84e43642e3e9729371f4a62b8b1cb5f15008017c (patch) | |
tree | 6563e0b243beefe943934cb44dc37f23e0692813 /binutils/size.c | |
parent | 7a64f7b8d66f81748f711b5511e716abd63548e0 (diff) | |
download | gdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.zip gdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.tar.gz gdb-84e43642e3e9729371f4a62b8b1cb5f15008017c.tar.bz2 |
* dlltool.c (dump_iat): Remove unused function.
(gen_exp_file): Remove #if 0'd code.
(make_one_lib_file): Likewise.
* srconv.c: Remove #if 0'd code throughout.
* size.c (lprint_number): Remove.
(print_berkeley_format): Remove #if 0'd code.
* ar.c (do_quick_append): Remove declaration and definiton.
(main): Remove #if 0'd code.
* filemode.c (filemodestring): Remove #if 0'd function.
* sysdump.c (unit_info_list): Remove function.
(object_body_list): Likewise.
(program_structure): Likewise.
(debug_list): Likewise.
(module): Remove #if 0'd code.
Diffstat (limited to 'binutils/size.c')
-rw-r--r-- | binutils/size.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/binutils/size.c b/binutils/size.c index 4beb0a3..aeb7994 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -66,9 +66,6 @@ static void display_file (char *); static void display_bfd (bfd *); static void display_archive (bfd *); static int size_number (bfd_size_type); -#if 0 -static void lprint_number (int, bfd_size_type); -#endif static void rprint_number (int, bfd_size_type); static void print_berkeley_format (bfd *); static void sysv_internal_sizer (bfd *, asection *, void *); @@ -382,25 +379,6 @@ size_number (bfd_size_type num) return strlen (buffer); } -#if 0 - -/* This is not used. */ - -static void -lprint_number (int width, bfd_size_type num) -{ - char buffer[40]; - - sprintf (buffer, - (radix == decimal ? "%lu" : - ((radix == octal) ? "0%lo" : "0x%lx")), - (unsigned long) num); - - printf ("%-*s", width, buffer); -} - -#endif - static void rprint_number (int width, bfd_size_type num) { @@ -451,14 +429,8 @@ print_berkeley_format (bfd *abfd) bfd_map_over_sections (abfd, berkeley_sum, NULL); if (files_seen++ == 0) -#if 0 - /* Intel doesn't like bss/stk because they don't have core files. */ - puts ((radix == octal) ? " text\t data\tbss/stk\t oct\t hex\tfilename" : - " text\t data\tbss/stk\t dec\t hex\tfilename"); -#else puts ((radix == octal) ? " text\t data\t bss\t oct\t hex\tfilename" : " text\t data\t bss\t dec\t hex\tfilename"); -#endif total = textsize + datasize + bsssize; |