From 3f59a7636604f3e22f3ed901fbddf0d79e4c9214 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Mon, 8 Jun 1998 14:36:19 +0000 Subject: [PATCH] Mon Jun 8 09:45:00 1998 Catherine Moore * config/tc-v850.c (md_begin): Restore creation of .call_table_text and .call_table_data sections. --- gas/ChangeLog | 7 +++++++ gas/config/tc-v850.c | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index a024aca359..7ac200ada4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-v850e +Mon Jun 8 09:45:00 1998 Catherine Moore + + * config/tc-v850.c (md_begin): Restore creation of + .call_table_text and .call_table_data sections. + +end-sanitize-v850e Sat Jun 6 00:02:41 1998 Nick Clifton * config/tc-d30v.c (md_assemble): Set execution type to unknown diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 4f42884ad7..b8cb81e9c0 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -1331,6 +1331,17 @@ md_begin () bfd_set_arch_mach (stdoutput, TARGET_ARCH, machine); + /* start-sanitize-v850e */ + call_table_data_section = subseg_new (".call_table_data", 0); + bfd_set_section_flags (stdoutput, call_table_data_section, + applicable & (SEC_ALLOC | SEC_LOAD | SEC_RELOC + | SEC_DATA | SEC_HAS_CONTENTS)); + + call_table_text_section = subseg_new (".call_table_text", 0); + bfd_set_section_flags (stdoutput, call_table_text_section, + applicable & (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE)); + /* end-sanitize-v850e */ + }