James Buren
c5d7cd5f9f
h300: add support for ROM image generation
...
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
2020-10-26 01:37:42 +00:00
Solomon Peachy
49c4577fa6
Get rid of another vestigal SH remnant in the rom linker script
...
Change-Id: Id7509ad4affc4d72fbfdd11b39a404ad54c76f1b
2020-10-26 00:12:54 +00:00
Solomon Peachy
092c340a20
[1/4] Remove SH support and all archos targets
...
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2020-07-24 21:20:13 +00:00
Marcin Bukat
b3abcb807b
rombox: Do not copy .init section to ram on startup.
...
This is pointless to copy this code as it can be run in-place.
Change-Id: I73b4f4a3337a88434af457c3f1e40b8d55a5a79e
2014-01-20 10:42:02 +01:00
Marcin Bukat
cc64d9eb3b
fix player rom build
...
Change-Id: I3acc5ff3b6868c7ebbfda99368e4eafc8e368668
2014-01-18 23:34:39 +01:00
Marcin Bukat
21d026d1d6
coldfire: fix rom build
...
Properly handle .init section in rom build and accomodate
the change in crt0.S introduced in b31c856
Change-Id: Icbf26a87162165da149232de264dc3671ca8ae96
2014-01-18 23:13:28 +01:00
Rafaël Carré
7ef13eed38
Fix path to PP crt0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31534 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:44:27 +00:00
Boris Gjenero
0efabb3d19
Add linker script wildcards for -ffunction-sections and -fdata-sections.
...
This adds wildcards to accept section names created by -ffunction-sections
and -fdata-sections. It should now be possible to build all targets with
those switches. Other wildcards such as those in r31337 and r31338 are only
needed when things are explicitly put into those sectons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31352 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 07:09:00 +00:00
Boris Gjenero
ca9111ef64
Add KEEP() around vectors in linker scripts.
...
Vectors are needed by the CPU, but they don't need to be accessed by Rockbox.
Without the KEEP(), they can be removed when liking with --gc-sections,
creating a broken binary without any warnings. This tells the linker to not
remove them. It should enable use of --gc-sections for all targets. When not
using --gc-sections, this does not change the binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31351 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 06:43:08 +00:00
Jens Arnold
2bbacf89fe
Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
2008-04-29 06:19:32 +00:00
Miika Pekkarinen
ee4caec3c2
Fixed the rombox generation for SH1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11950 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 19:19:23 +00:00
Miika Pekkarinen
b1af4e6cc8
Enable ROM file generation for H120/H140.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11947 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 18:21:12 +00:00
Daniel Ankers
41997d3d89
Clean up crt0.S and move it to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10830 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:45:05 +00:00
Jens Arnold
abd9f83e92
Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Jörg Hohensohn
13be9f14d7
allow the flash plugin to verify the RomBox link address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 07:26:40 +00:00
Christian Gmeiner
c6ff1f5eb5
Added CPU_COLDFIRE define - one step closer to iAudio-port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Linus Nielsen Feltzing
1c40d3cee5
Ooops. DRAM can't start at 0x30000000 on iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 06:48:17 +00:00
Linus Nielsen Feltzing
d34865a530
mp3buf renamed to audiobuf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
bd42d31e5e
RoLo now works on the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6238 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 08:47:02 +00:00
Dave Chapman
e452383359
Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:37 +00:00
Linus Nielsen Feltzing
63cf21da1f
Adjustments for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5696 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 13:19:01 +00:00
Jens Arnold
0978026dda
Rombox now properly uses all available DRAM for 8 MB builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5560 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 01:25:19 +00:00
Daniel Stenberg
678090a2e7
rombox support: building and zip
...
general makefile: less output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5043 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 07:05:12 +00:00
Daniel Stenberg
762a6c6d8a
define the ROM start in the config-*.h file instead and avoid the ifdef
...
in the rom.lds file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5035 a1c6a512-1295-4272-9138-f99709370657
2004-09-03 13:16:19 +00:00
Daniel Stenberg
32cd555973
lds file for rombox builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5034 a1c6a512-1295-4272-9138-f99709370657
2004-09-03 13:02:16 +00:00