diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-22 22:02:12 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-22 22:02:12 +0000 |
commit | 1a6a6dab8995efa3c744598000bd718fa0b81017 (patch) | |
tree | da28417c589f53563216c82e703a1aebbee87565 /gcc | |
parent | 923acdd5d4ba786f9a8343d24ae9668e95e0e016 (diff) | |
download | gcc-1a6a6dab8995efa3c744598000bd718fa0b81017.tar.gz |
* config/mips/mips.h (MASK_RETURN_ADDR): Define.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51191 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09ea7641f62..6b1f0b57ccc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-22 Alexandre Oliva <aoliva@redhat.com> + + * config/mips/mips.h (MASK_RETURN_ADDR): Define. + (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. + 2002-03-22 Phil Edwards <pme@gcc.gnu.org> * cpplib.h (struct cpp_options): New member, warn_endif_labels. diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 7b01130a387..62bb9483d88 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2423,6 +2423,17 @@ extern enum reg_class mips_char_to_class[256]; RETURN_ADDRESS_POINTER_REGNUM))) \ : (rtx) 0) +/* Since the mips16 ISA mode is encoded in the least-significant bit + of the address, mask it off return addresses for purposes of + finding exception handling regions. */ + +#define MASK_RETURN_ADDR GEN_INT (-2) + +/* Similarly, don't use the least-significant bit to tell pointers to + code from vtable index. */ + +#define TARGET_PTRMEMFUNC_VBIT_LOCATION ptrmemfunc_vbit_in_delta + /* Structure to be filled in by compute_frame_size with register save masks, and offsets for the current function. */ |