Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-04-08 12:04:12 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-04-23 22:57:13 +0300
commit45d0b17928067ee848aae2cd5bd332129ca35c42 (patch)
treed6ad7f4faf67bfef1641d634845780e3c7be0a4e /libgloss/rx
parent853fcd8936b5ffdc465e4ce31af51b8ae223d247 (diff)
Add .note and DWARF3 sections to RX linker scripts.
* rx/rx.ld: Add .note and DWARF3 sections. * rx/rx-sim.ld: Likewise.
Diffstat (limited to 'libgloss/rx')
-rw-r--r--libgloss/rx/rx-sim.ld6
-rw-r--r--libgloss/rx/rx.ld6
2 files changed, 12 insertions, 0 deletions
diff --git a/libgloss/rx/rx-sim.ld b/libgloss/rx/rx-sim.ld
index 4acc6cb87..b5802c511 100644
--- a/libgloss/rx/rx-sim.ld
+++ b/libgloss/rx/rx-sim.ld
@@ -188,6 +188,7 @@ SECTIONS
}
/* The rest are all not normally part of the runtime image. */
+ .note : { *(.note) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
@@ -222,5 +223,10 @@ SECTIONS
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
+ /* DWARF 3 */
+ .debug_pubtypes 0 : { *(.debug_pubtypes) }
+ .debug_ranges 0 : { *(.debug_ranges) }
+ /* DWARF Extension. */
+ .debug_macro 0 : { *(.debug_macro) }
/DISCARD/ : { *(.note.GNU-stack) }
}
diff --git a/libgloss/rx/rx.ld b/libgloss/rx/rx.ld
index 7aa263acc..f56fe01ea 100644
--- a/libgloss/rx/rx.ld
+++ b/libgloss/rx/rx.ld
@@ -192,6 +192,7 @@ SECTIONS
}
/* The rest are all not normally part of the runtime image. */
+ .note : { *(.note) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
@@ -226,5 +227,10 @@ SECTIONS
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
+ /* DWARF 3 */
+ .debug_pubtypes 0 : { *(.debug_pubtypes) }
+ .debug_ranges 0 : { *(.debug_ranges) }
+ /* DWARF Extension. */
+ .debug_macro 0 : { *(.debug_macro) }
/DISCARD/ : { *(.note.GNU-stack) }
}