summaryrefslogtreecommitdiff
path: root/bfd/dwarf1.c
Commit message (Collapse)AuthorAgeFilesLines
* s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra2002-11-301-38/+40
| | | | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
* Touches most files in bfd/, so likely will be blamed for everything..Alan Modra2001-09-181-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | o bfd_read and bfd_write lose an unnecessary param and become bfd_bread and bfd_bwrite. o bfd_*alloc now all take a bfd_size_type arg, and will error if size_t is too small. eg. 32 bit host, 64 bit bfd, verrry big files or bugs in linker scripts etc. o file_ptr becomes a bfd_signed_vma. Besides matching sizes with various other types involved in handling sections, this should make it easier for bfd to support a 64 bit off_t on 32 bit hosts that provide it. o I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*) generally available. They now cast their args to bfd_vma and bfd_byte * as appropriate, which removes a swag of casts from the source. o Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and aout-encap.c. o Zillions of formatting and -Wconversion fixes.
* 2001-09-17 H.J. Lu <hjl@gnu.org>H.J. Lu2001-09-171-5/+9
| | | | | | | | * dwarf1.c (parse_die): Take a new arg for the end of the section. Return false if die is beyond the section. (parse_functions_in_unit): Pass the end of the section to parse_die (). (_bfd_dwarf1_find_nearest_line): Likewise.
* * coff-rs6000.c: Add missing prototypes.Alan Modra2001-08-091-1/+13
| | | | | | | | | | | | | | | | | | | | (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow, xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset, xcoff_loader_reloc_offset): Make static. * dwarf1.c: Add missing prototypes. * dwarf2.c: Add missing prototypes. (struct abbrev_info): Move definition. (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise. * elf.c: Add missing prototypes. * elf32-gen.c: Likewise. * elf32-i386.c: Likewise. * elf32-ppc.c: Likewise. (ppc_elf_sort_rela): Use PTR instead of "void *". * elflink.h: Add missing prototypes. Formatting fixes. * merge.c: Add missing prototypes. (last4_eq): Use PTR instead of "void *". (last_eq): Likewise. * syms.c: Add missing prototypes.
* Change type of 'addr' to be unsigned long, in order to match its use.Nick Clifton2001-05-111-1/+1
|
* 2000-11-16 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-11-161-109/+97
| | | | | * dwarf1.c: Fix formatting. * dwarf2.c: Likewise.
* Ryan Bradetich's warning fixes.Alan Modra2000-07-101-17/+17
|
* 1999-10-15 Andrew Haley <aph@cygnus.com>Andrew Haley1999-10-181-0/+2
| | | | * dwarf1.c (parse_die): Fail to parse a die if its length is zero.
* * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1999-07-111-4/+4
| | | | | | | as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf1.c (parse_line_table): Change eachLine to unsigned long. (dwarf1_unit_find_nearest_line): Change i to unsigned long.
* * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc.Joern Rennecke1999-06-171-4/+4
| | | | * (alloc_dwarf1_func): Likewise.
* Initial revisionRichard Henderson1999-05-031-0/+576