diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-06-07 15:55:00 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-25 08:24:37 +0100 |
commit | 0a8c90f1018b4d7f1a45c9509c87299880c71594 (patch) | |
tree | 551cbabcdc37ffbabd6d05b005221608db998145 /scripts/layoutrom.py | |
parent | b101c1d7d90cf3c14d306bb2b50a34b825cf9838 (diff) | |
download | qemu-seabios-1.7.5-stable.tar.gz |
build: make buildable with intel compiler.rel-1.7.5.21.7.5-stable
This is a partial backport of commit e5749978:
build: Keep segmented sections separate until final link step.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/layoutrom.py')
-rwxr-xr-x | scripts/layoutrom.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py index b325406..6d1b8ad 100755 --- a/scripts/layoutrom.py +++ b/scripts/layoutrom.py @@ -175,10 +175,7 @@ def doLayout(sections, config, genreloc): # Determine 16bit positions li.sections16 = getSectionsCategory(sections, '16') textsections = getSectionsPrefix(li.sections16, '.text.') - rodatasections = ( - getSectionsPrefix(li.sections16, '.rodata.str1.1') - + getSectionsPrefix(li.sections16, '.rodata.__func__.') - + getSectionsPrefix(li.sections16, '.rodata.__PRETTY_FUNCTION__.')) + rodatasections = getSectionsPrefix(li.sections16, '.rodata') datasections = getSectionsPrefix(li.sections16, '.data16.') fixedsections = getSectionsPrefix(li.sections16, '.fixedaddr.') @@ -191,10 +188,7 @@ def doLayout(sections, config, genreloc): # Determine 32seg positions li.sections32seg = getSectionsCategory(sections, '32seg') textsections = getSectionsPrefix(li.sections32seg, '.text.') - rodatasections = ( - getSectionsPrefix(li.sections32seg, '.rodata.str1.1') - + getSectionsPrefix(li.sections32seg, '.rodata.__func__.') - + getSectionsPrefix(li.sections32seg, '.rodata.__PRETTY_FUNCTION__.')) + rodatasections = getSectionsPrefix(li.sections32seg, '.rodata') datasections = getSectionsPrefix(li.sections32seg, '.data32seg.') li.sec32seg_start, li.sec32seg_align = setSectionsStart( |