diff options
author | Jeff Law <law@gcc.gnu.org> | 1994-11-10 21:41:55 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1994-11-10 21:41:55 -0700 |
commit | ba25ac36a7b77df8d3021f270fa28d64997d3d65 (patch) | |
tree | 766b1aadd1011a4de7d6f0b5dc549b81b4122c59 | |
parent | 105ce113ecb06d477f4ebf875c7f0f1bbc3ea82e (diff) | |
download | gcc-ba25ac36a7b77df8d3021f270fa28d64997d3d65.zip gcc-ba25ac36a7b77df8d3021f270fa28d64997d3d65.tar.gz gcc-ba25ac36a7b77df8d3021f270fa28d64997d3d65.tar.bz2 |
pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
(ASM_FILE_END): Delete unneeded definition.
From-SVN: r8421
-rw-r--r-- | gcc/config/pa/pa.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 36b7a84..5d6e9911 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -168,6 +168,14 @@ extern int target_flags; ((GET_CODE (X) == PLUS ? OFFSET : 0) \ + (frame_pointer_needed ? 0 : compute_frame_size (get_frame_size (), 0))) +/* gdb needs a null N_SO at the end of each file for scattered loading. */ + +#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END +#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \ + fprintf (FILE, \ + "%s\t.text\n\t.stabs \"%s\",%d,0,0,L$text_end\nL$text_end:\n",\ + TEXT_SECTION_ASM_OP, "" , N_SO) + #if (TARGET_DEFAULT & 1) == 0 #define CPP_SPEC "%{msnake:-D__hp9000s700 -D_PA_RISC1_1}\ %{mpa-risc-1-1:-D__hp9000s700 -D_PA_RISC1_1}" @@ -1776,19 +1784,6 @@ readonly_data () \ fputs (",DATA\n", FILE); \ } while (0) -/* hpux ld doesn't output the object file name, or anything useful at - all, to indicate the start of an object file's symbols. This screws - up gdb, so we'll output this magic cookie at the end of an object - file with debugging symbols */ - -#define ASM_FILE_END(FILE) \ - do { if (write_symbols == DBX_DEBUG)\ - { fputs (TEXT_SECTION_ASM_OP, FILE);\ - fputs ("\t.stabs \"end_file.\",4,0,0,Ltext_end\nLtext_end:\n",\ - (FILE));\ - }\ - } while (0) - /* The bogus HP assembler requires ALL external references to be "imported", even library calls. They look a bit different, so here's this macro. */ |