* 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.
This commit is contained in:
Peter Schauer 1994-03-05 22:41:41 +00:00
parent 4c040a649b
commit 25677b5b30
3 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
Sat Mar 5 14:08:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* 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.
Thu Mar 3 20:03:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) Thu Mar 3 20:03:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD. * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.

View File

@ -334,7 +334,7 @@ enum elf32_hppa_symextn_types
/* FIXME. Are these external? (For example used by GAS?). If so the /* FIXME. Are these external? (For example used by GAS?). If so the
names need to change to avoid namespace pollution, if not they should names need to change to avoid namespace pollution, if not they should
be moved into elf32-hppa.c. */ be moved into elf32-hppa.c. */
typedef Elf32_Word symext_entryS; typedef unsigned long symext_entryS;
struct symext_chain struct symext_chain
{ {
symext_entryS entry; symext_entryS entry;

View File

@ -466,6 +466,7 @@ DEFUN (bfd_section_from_shdr, (abfd, shindex),
return true; return true;
case SHT_PROGBITS: case SHT_PROGBITS:
case SHT_DYNAMIC:
/* Bits that get saved. This one is real. */ /* Bits that get saved. This one is real. */
if (!hdr->rawdata) if (!hdr->rawdata)
{ {
@ -662,7 +663,6 @@ DEFUN (bfd_section_from_shdr, (abfd, shindex),
break; break;
case SHT_HASH: case SHT_HASH:
case SHT_DYNAMIC:
case SHT_DYNSYM: /* could treat this like symtab... */ case SHT_DYNSYM: /* could treat this like symtab... */
#if 0 #if 0
fprintf (stderr, "Dynamic Linking sections not yet supported.\n"); 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 bfd * abfd AND
Elf_Internal_Ehdr * i_ehdrp AND Elf_Internal_Ehdr * i_ehdrp AND
Elf_Internal_Phdr * i_phdrp AND Elf_Internal_Phdr * i_phdrp AND
Elf32_Half phdr_cnt) unsigned short phdr_cnt)
{ {
/* first program header entry goes after the file header */ /* first program header entry goes after the file header */
int outbase = i_ehdrp->e_phoff; int outbase = i_ehdrp->e_phoff;
@ -2898,8 +2898,8 @@ DEFUN (elf_slurp_reloc_table, (abfd, asect, symbols),
arelent *reloc_cache; arelent *reloc_cache;
arelent *cache_ptr; arelent *cache_ptr;
Elf_Internal_Shdr *data_hdr; Elf_Internal_Shdr *data_hdr;
ElfNAME (Off) data_off; bfd_vma data_off;
ElfNAME (Word) data_max; unsigned long data_max;
char buf[4]; /* FIXME -- might be elf64 */ char buf[4]; /* FIXME -- might be elf64 */
unsigned int idx; unsigned int idx;