diff options
author | Alan Modra <amodra@gmail.com> | 2003-11-04 23:35:54 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-11-04 23:35:54 +0000 |
commit | 5f5c1f759df60c2b648d402ae6860bd2efe04945 (patch) | |
tree | 7ae0b9c2b724c3d01394b8e0023c6968e59a0184 /gas/config/tc-ppc.h | |
parent | 2c07ab8a9e9c0489837a15e1f09c1cda4d8a19ba (diff) | |
download | gdb-5f5c1f759df60c2b648d402ae6860bd2efe04945.zip gdb-5f5c1f759df60c2b648d402ae6860bd2efe04945.tar.gz gdb-5f5c1f759df60c2b648d402ae6860bd2efe04945.tar.bz2 |
* config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r-- | gas/config/tc-ppc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index a1c74b2..0844f84 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -1,5 +1,5 @@ /* tc-ppc.h -- Header file for tc-ppc.c. - Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 + Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. @@ -237,8 +237,10 @@ extern void ppc_frob_file_before_adjust PARAMS ((void)); #endif /* OBJ_ELF */ +#if defined (OBJ_ELF) || defined (OBJ_XCOFF) #define TC_FORCE_RELOCATION(FIX) ppc_force_relocation (FIX) extern int ppc_force_relocation PARAMS ((struct fix *)); +#endif /* call md_pcrel_from_section, not md_pcrel_from */ #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC) |