[Bug target/92902] jump tables are put into the text section

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 11 21:17:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The SPARC port even has a specific implementation here:

/* This is how we hook in and defer the case-vector until the end of
   the function.  */
#define ASM_OUTPUT_ADDR_VEC(LAB,VEC) \
  sparc_defer_case_vector ((LAB),(VEC), 0)

#define ASM_OUTPUT_ADDR_DIFF_VEC(LAB,VEC) \
  sparc_defer_case_vector ((LAB),(VEC), 1)


More information about the Gcc-bugs mailing list