projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sje patch for 32-bit IA-64 ELF relocs for HPUX
[deliverable/binutils-gdb.git]
/
bfd
/
coff-tic80.c
diff --git
a/bfd/coff-tic80.c
b/bfd/coff-tic80.c
index 1132ea6e8419b6b238677bd48e97b0d06c977758..2d065627032e20c6c2e194c2f6246e5976c10052 100644
(file)
--- a/
bfd/coff-tic80.c
+++ b/
bfd/coff-tic80.c
@@
-1,5
+1,5
@@
/* BFD back-end for Texas Instruments TMS320C80 Multimedia Video Processor (MVP).
/* BFD back-end for Texas Instruments TMS320C80 Multimedia Video Processor (MVP).
- Copyright 1996, 1997, 199
8, 1999
Free Software Foundation, Inc.
+ Copyright 1996, 1997, 199
9, 2000
Free Software Foundation, Inc.
Written by Fred Fish (fnf@cygnus.com)
Written by Fred Fish (fnf@cygnus.com)
@@
-424,7
+424,7
@@
local16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
\f
/* Code to turn an external r_type into a pointer to an entry in the howto_table.
If passed an r_type we don't recognize the abort rather than silently failing
\f
/* Code to turn an external r_type into a pointer to an entry in the howto_table.
If passed an r_type we don't recognize the abort rather than silently failing
- to generate an output file. */
+ to generate an output file.
*/
static void
rtype2howto (cache_ptr, dst)
static void
rtype2howto (cache_ptr, dst)
@@
-465,7
+465,7
@@
coff_tic80_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
{
/* This is a TI "internal relocation", which means that the relocation
amount is the amount by which the current section is being relocated
{
/* This is a TI "internal relocation", which means that the relocation
amount is the amount by which the current section is being relocated
- in the output section. */
+ in the output section.
*/
*addendp = (sec -> output_section -> vma + sec -> output_offset) - sec -> vma;
}
RTYPE2HOWTO (&genrel, rel);
*addendp = (sec -> output_section -> vma + sec -> output_offset) - sec -> vma;
}
RTYPE2HOWTO (&genrel, rel);
@@
-518,7
+518,7
@@
coff_tic80_relocate_section (output_bfd, info, input_bfd,
sym = NULL;
}
else
sym = NULL;
}
else
- {
+ {
h = obj_coff_sym_hashes (input_bfd)[symndx];
sym = syms + symndx;
}
h = obj_coff_sym_hashes (input_bfd)[symndx];
sym = syms + symndx;
}
@@
-576,7
+576,7
@@
coff_tic80_relocate_section (output_bfd, info, input_bfd,
{
if (! ((*info->callbacks->undefined_symbol)
(info, h->root.root.string, input_bfd, input_section,
{
if (! ((*info->callbacks->undefined_symbol)
(info, h->root.root.string, input_bfd, input_section,
- rel->r_vaddr - input_section->vma)))
+ rel->r_vaddr - input_section->vma
, true
)))
return false;
}
}
return false;
}
}
@@
-649,7
+649,7
@@
coff_tic80_relocate_section (output_bfd, info, input_bfd,
contents[addr + 1] |= hold & 0x80;
break;
}
contents[addr + 1] |= hold & 0x80;
break;
}
-
+
case R_PPBASE:
/* Parameter RAM is from 0x1000000 to 0x1000800. */
contents[addr] &=~ 0x3;
case R_PPBASE:
/* Parameter RAM is from 0x1000000 to 0x1000800. */
contents[addr] &=~ 0x3;
This page took
0.023707 seconds
and
4
git commands to generate.