aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-03-05 22:41:41 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-03-05 22:41:41 +0000
commit25677b5b30ebe0ce29eee82dd5dc75e14eb8413d (patch)
tree593c94e0c215083440bf00fb60726e7380f0881e /bfd/elfcode.h
parent4c040a649b610ab1a0b5aa30c01148bffa9e2f4b (diff)
downloadgdb-25677b5b30ebe0ce29eee82dd5dc75e14eb8413d.zip
gdb-25677b5b30ebe0ce29eee82dd5dc75e14eb8413d.tar.gz
gdb-25677b5b30ebe0ce29eee82dd5dc75e14eb8413d.tar.bz2
* elf32-hppa.h, elfcode.h: Replace uses of Elf*_Half, Elf*_Word,
Elf*_Off typedefs by their expansion, the typedefs have been removed from include/elf/internal.h.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index cb4f451..c3ff9ff 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -466,6 +466,7 @@ DEFUN (bfd_section_from_shdr, (abfd, shindex),
return true;
case SHT_PROGBITS:
+ case SHT_DYNAMIC:
/* Bits that get saved. This one is real. */
if (!hdr->rawdata)
{
@@ -662,7 +663,6 @@ DEFUN (bfd_section_from_shdr, (abfd, shindex),
break;
case SHT_HASH:
- case SHT_DYNAMIC:
case SHT_DYNSYM: /* could treat this like symtab... */
#if 0
fprintf (stderr, "Dynamic Linking sections not yet supported.\n");
@@ -1523,7 +1523,7 @@ DEFUN (elf_write_phdrs, (abfd, i_ehdrp, i_phdrp, phdr_cnt),
bfd * abfd AND
Elf_Internal_Ehdr * i_ehdrp AND
Elf_Internal_Phdr * i_phdrp AND
- Elf32_Half phdr_cnt)
+ unsigned short phdr_cnt)
{
/* first program header entry goes after the file header */
int outbase = i_ehdrp->e_phoff;
@@ -2898,8 +2898,8 @@ DEFUN (elf_slurp_reloc_table, (abfd, asect, symbols),
arelent *reloc_cache;
arelent *cache_ptr;
Elf_Internal_Shdr *data_hdr;
- ElfNAME (Off) data_off;
- ElfNAME (Word) data_max;
+ bfd_vma data_off;
+ unsigned long data_max;
char buf[4]; /* FIXME -- might be elf64 */
unsigned int idx;