diff options
author | Phil Blundell <philb@gnu.org> | 2001-01-03 10:03:46 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-01-03 10:03:46 +0000 |
commit | b96ed59a5719c80faca6dcfd1ec1d98cf6f8ca09 (patch) | |
tree | 7ef7b6fd1dbf7e1b43f3be6e5eea1e73c631cba4 /gas | |
parent | 2ffd68ef6e0e54ad09e316ced42a9f4c3397b976 (diff) | |
download | gdb-b96ed59a5719c80faca6dcfd1ec1d98cf6f8ca09.zip gdb-b96ed59a5719c80faca6dcfd1ec1d98cf6f8ca09.tar.gz gdb-b96ed59a5719c80faca6dcfd1ec1d98cf6f8ca09.tar.bz2 |
2001-01-03 Philip Blundell <pb@futuretv.com>
* config/tc-alpha.c (alpha_force_relocation): Handle vtable
relocs.
(alpha_fix_adjustable): Likewise.
(md_apply_fix): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c6aa4aa..50fd679 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2001-01-03 Philip Blundell <pb@futuretv.com> + + * config/tc-alpha.c (alpha_force_relocation): Handle vtable + relocs. + (alpha_fix_adjustable): Likewise. + (md_apply_fix): Likewise. + 2000-12-31 H.J. Lu <hjl@gnu.org> * listing.c (listing_message): Allocate string only if it is diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 01e9bbd..8c030ae 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -1,5 +1,5 @@ /* tc-alpha.c - Processor-specific code for the DEC Alpha AXP CPU. - Copyright (C) 1989, 93-98, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1989, 93-98, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Carnegie Mellon University, 1993. Written by Alessandro Forin, based on earlier gas-1.38 target CPU files. Modified by Ken Raeburn for gas-2.x and ECOFF support. @@ -1293,6 +1293,10 @@ md_apply_fix (fixP, valueP) abort (); #endif + case BFD_RELOC_VTABLE_INHERIT: + case BFD_RELOC_VTABLE_ENTRY: + return 1; + default: { const struct alpha_operand *operand; @@ -1462,6 +1466,8 @@ alpha_force_relocation (f) case BFD_RELOC_ALPHA_USER_GPRELHIGH: case BFD_RELOC_ALPHA_USER_GPRELLOW: #endif + case BFD_RELOC_VTABLE_INHERIT: + case BFD_RELOC_VTABLE_ENTRY: return 1; case BFD_RELOC_23_PCREL_S2: @@ -1521,6 +1527,8 @@ alpha_fix_adjustable (f) case BFD_RELOC_ALPHA_USER_GPRELHIGH: case BFD_RELOC_ALPHA_USER_GPRELLOW: #endif + case BFD_RELOC_VTABLE_ENTRY: + case BFD_RELOC_VTABLE_INHERIT: return 0; case BFD_RELOC_GPREL32: |