aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-10-23 03:30:02 +0000
committerAlan Modra <amodra@gmail.com>2006-10-23 03:30:02 +0000
commit19163ab3bd1380b8bc597679b41e7f6a2346cf6d (patch)
tree2ecbf984ed7808150ddccd3cf8a1795181167841 /ld
parenta70ae33183ae2c7f1b9366925b2db34343f73ca7 (diff)
downloadgdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.zip
gdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.tar.gz
gdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.tar.bz2
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
set section address on a relocatable link.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog23
-rw-r--r--ld/emulparams/h8300elf.sh4
2 files changed, 15 insertions, 12 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0daa4d0..6ec820a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,8 @@
2006-10-23 Alan Modra <amodra@bigpond.net.au>
+ * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
+ set section address on a relocatable link.
+
* ld.texinfo (Output Section Discarding): Fix xref.
2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
@@ -165,7 +168,7 @@
* Makefile.in: Regenerate.
* configure.tgt: Add Score target.
* NEWS: Mention new target support.
-
+
2006-09-16 Nick Clifton <nickc@redhat.com>
Pedro Alves <pedro_alves@portugalmail.pt>
@@ -272,7 +275,7 @@
2006-08-23 Alan Modra <amodra@bigpond.net.au>
* ldexp.c (fold_name <LOADADDR>): Return an absolute value
- rather than a section relative value.
+ rather than a section relative value.
2006-08-22 Alan Modra <amodra@bigpond.net.au>
@@ -298,9 +301,9 @@
* emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
Remap bfd_arm_allocate_interworking_sections,
bfd_arm_get_bfd_for_interworking and
- bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
+ bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
targets too.
- (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
+ (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
arm-epoc bfd format names.
2006-08-18 Paul Brook <paul@codesourcery.com>
@@ -558,7 +561,7 @@
2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
* pe-dll.c (pe_details_type): Add new pointer for symbols list
- autofilter.
+ autofilter.
(autofilter_symbollist): Split into autofilter_symbollist_generic
and autofilter_symbollist_i386.
(pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
@@ -577,10 +580,10 @@
2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
- * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
+ * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
Restructure. Add native "%s.lib" format to search list
* ld.texinfo (node WIN32): Update documentation on dynamic lib
- search order. Add another reason for using import libs.
+ search order. Add another reason for using import libs.
2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
@@ -853,7 +856,7 @@
* po/vi.po: Updated Vietnamese translation.
-2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
+2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
* configure.tgt: Add avr6 to emulation list.
* Makefile.am: Add eavr6.o and corresponding rule.
@@ -862,7 +865,7 @@
* emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
for target option support.
(EXTRA_EM_FILE): Add reference to new em template file avrelf.
- * scripttempl/avr.sc: Add ".trampolines" section.
+ * scripttempl/avr.sc: Add ".trampolines" section.
* emultempl/avrelf.em: Add new file for target specific options.
2006-05-22 Nick Clifton <nickc@redhat.com>
@@ -881,7 +884,7 @@
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
- * ld.texinfo: Rename "Index" to "LD Index"
+ * ld.texinfo: Rename "Index" to "LD Index"
2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh
index 39cff18..fb4db40 100644
--- a/ld/emulparams/h8300elf.sh
+++ b/ld/emulparams/h8300elf.sh
@@ -14,12 +14,12 @@ TINY_READONLY_SECTION=".tinyrodata :
{
*(.tinyrodata)
} =0"
-TINY_DATA_SECTION=".tinydata 0xff8000 :
+TINY_DATA_SECTION=".tinydata ${RELOCATING+0xff8000} :
{
*(.tinydata)
${RELOCATING+ _tinydata = .; }
}"
-TINY_BSS_SECTION=".tinybss : AT (_tinydata)
+TINY_BSS_SECTION=".tinybss : ${RELOCATING+AT (_tinydata)}
{
*(.tinybss)
}"